From: Baruch Siach Date: Fri, 8 Jun 2012 17:27:45 +0000 (+0300) Subject: atheros: Fix build when CONFIG_WPS is disabled X-Git-Tag: hostap_2_0~641 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa4251f2ff1da6218256dfd5b7e7f23f954db1a;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c index 37147ea6e..db2b3ff84 100644 --- a/src/drivers/driver_atheros.c +++ b/src/drivers/driver_atheros.c @@ -39,11 +39,11 @@ #ifdef CONFIG_WPS #include +#endif /* CONFIG_WPS */ #ifndef ETH_P_80211_RAW #define ETH_P_80211_RAW 0x0019 #endif -#endif /* CONFIG_WPS */ #include "linux_wext.h"