Browse Source

atheros: Fix build when CONFIG_WPS is disabled

The use of ETH_P_80211_RAW does not depend on CONFIG_WPS, so make its
definition independent as well.

Signed-hostap: Baruch Siach <baruch@tkos.co.il>
Baruch Siach 13 years ago
parent
commit
7aa4251f2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/driver_atheros.c

+ 1 - 1
src/drivers/driver_atheros.c

@@ -39,11 +39,11 @@
 
 #ifdef CONFIG_WPS
 #include <netpacket/packet.h>
+#endif /* CONFIG_WPS */
 
 #ifndef ETH_P_80211_RAW
 #define ETH_P_80211_RAW 0x0019
 #endif
-#endif /* CONFIG_WPS */
 
 #include "linux_wext.h"