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>
This commit is contained in:
Baruch Siach 2012-06-08 20:27:45 +03:00 committed by Jouni Malinen
parent 579a80982a
commit 7aa4251f2f

View file

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