Browse Source

atheros: Restore ATH_WPS_IE definition and comment

Jouni Malinen 15 years ago
parent
commit
e0f412b927
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/drivers/driver_atheros.c

+ 6 - 0
src/drivers/driver_atheros.c

@@ -28,6 +28,12 @@
 #endif
 #endif
 #endif /* _BYTE_ORDER */
 #endif /* _BYTE_ORDER */
 
 
+/*
+ * Note, the ATH_WPS_IE setting must match with the driver build.. If the
+ * driver does not include this, the IEEE80211_IOCTL_GETWPAIE ioctl will fail.
+ */
+#define ATH_WPS_IE
+
 #include "os/linux/include/ieee80211_external.h"
 #include "os/linux/include/ieee80211_external.h"