aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2012-06-08 17:27:45 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-08 17:27:45 (GMT)
commit7aa4251f2ff1da6218256dfd5b7e7f23f954db1a (patch)
tree0751909d31a25097956d13244c67bdfb560edf7b /src/drivers/driver_atheros.c
parent579a80982ad07619373876c09cdd60e2afcba5b5 (diff)
downloadhostap-7aa4251f2ff1da6218256dfd5b7e7f23f954db1a.zip
hostap-7aa4251f2ff1da6218256dfd5b7e7f23f954db1a.tar.gz
hostap-7aa4251f2ff1da6218256dfd5b7e7f23f954db1a.tar.bz2
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>
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 37147ea..db2b3ff 100644
--- a/src/drivers/driver_atheros.c
+++ b/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"