-getting ATS and transport to compile again (part of #3047)
[oweals/gnunet.git] / src / transport / gnunet-helper-transport-wlan.c
index 3ad4d64c424dbbf6433b4015d971e47328037e0e..7f472b3be7a40a0e1a72442143f62fc4a35bf521 100644 (file)
  * parts taken from aircrack-ng, parts changend.
  */
 #include "gnunet_config.h"
+#define SOCKTYPE int
+#define FDTYPE int
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
@@ -1482,7 +1484,7 @@ linux_read (struct HardwareInfos *dev,
            if (PRISM_STATUS_OK == pv.status)
            {
              ri->ri_noise = pv.data;
-             got_noise = 1;
+             /* got_noise = 1; */
            }
            break;
          case PRISM_DID_RATE:
@@ -1504,7 +1506,7 @@ linux_read (struct HardwareInfos *dev,
            if (PRISM_STATUS_OK == pv.status)
            {
              ri->ri_power = pv.data;
-             got_signal = 1;
+             /* got_signal = 1; */
            }
            break;
          }