From patchwork Tue Apr 24 08:58:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: atheros: fix build when CONFIG_WPS is disabled Date: Mon, 23 Apr 2012 22:58:44 -0000 From: Baruch Siach X-Patchwork-Id: 154625 Message-Id: <820877efc2e3ce8b368031450a7c9b795bdc2e31.1335257896.git.baruch@tkos.co.il> To: hostap@lists.shmoo.com The use of ETH_P_80211_RAW does not depend on CONFIG_WPS, so make its definition independent as well. Signed-hostap: Baruch Siach --- src/drivers/driver_atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +#endif /* CONFIG_WPS */ #ifndef ETH_P_80211_RAW #define ETH_P_80211_RAW 0x0019 #endif -#endif /* CONFIG_WPS */ #include "linux_wext.h"