aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-12-16 16:22:54 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-16 16:22:54 (GMT)
commitad3872a3720df13d8fc1a4345a5f0a8c3a204b4e (patch)
tree139a6d1c17858ca7f7c8569e4cf31f47144ad04b /wpa_supplicant/wnm_sta.c
parent74b4a3606d5fa684bb0b60e8f068fc898f47b2ac (diff)
downloadhostap-ad3872a3720df13d8fc1a4345a5f0a8c3a204b4e.zip
hostap-ad3872a3720df13d8fc1a4345a5f0a8c3a204b4e.tar.gz
hostap-ad3872a3720df13d8fc1a4345a5f0a8c3a204b4e.tar.bz2
WNM: Use CONFIG_WNM more consistently
Replace CONFIG_IEEE80211V with CONFIG_WNM to get more consistent build options for WNM-Sleep Mode operations. Previously it was possible to define CONFIG_IEEE80211V without CONFIG_WNM which would break the build. In addition, IEEE 802.11v has been merged into IEEE Std 802.11-2012 and WNM is a better term to use for this new functionality anyway. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wnm_sta.c')
-rw-r--r--wpa_supplicant/wnm_sta.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c
index 3a2c17e..35cd032 100644
--- a/wpa_supplicant/wnm_sta.c
+++ b/wpa_supplicant/wnm_sta.c
@@ -16,7 +16,6 @@
#define MAX_TFS_IE_LEN 1024
-#ifdef CONFIG_IEEE80211V
/* get the TFS IE from driver */
static int ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf,
@@ -307,5 +306,3 @@ void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s,
break;
}
}
-
-#endif /* CONFIG_IEEE80211V */