]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
atheros: Fix build when CONFIG_WPS is disabled
authorBaruch Siach <baruch@tkos.co.il>
Fri, 8 Jun 2012 17:27:45 +0000 (20:27 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 8 Jun 2012 17:27:45 +0000 (20:27 +0300)
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>

src/drivers/driver_atheros.c

index 37147ea6e8fd112e39d498f94cc94edfc47018a1..db2b3ff84ba7720afa13fd148ced3b9649fbf950 100644 (file)
 
 #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"