aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_wext.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-12-31 16:10:14 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-31 16:10:14 (GMT)
commite834272f732739bad2b0168dc0fe6422b045e4e5 (patch)
tree60a763d0bad3f129da901f7461b506b763975af5 /src/drivers/driver_wext.c
parentc2fef14520cce933b7e4d23d8f269b92ca13860a (diff)
downloadhostap-e834272f732739bad2b0168dc0fe6422b045e4e5.zip
hostap-e834272f732739bad2b0168dc0fe6422b045e4e5.tar.gz
hostap-e834272f732739bad2b0168dc0fe6422b045e4e5.tar.bz2
Include pending MFP defines in nl80211_copy.h
This can be used to get rid of the extra cpp define since we have our local copy of wireless.h and nl80211.h.
Diffstat (limited to 'src/drivers/driver_wext.c')
-rw-r--r--src/drivers/driver_wext.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index 74135d6..2d98cdd 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -1726,13 +1726,11 @@ static int wpa_driver_wext_set_key_ext(void *priv, wpa_alg alg,
case WPA_ALG_PMK:
ext->alg = IW_ENCODE_ALG_PMK;
break;
-#ifdef WEXT_MFP_PENDING
#ifdef CONFIG_IEEE80211W
case WPA_ALG_IGTK:
ext->alg = IW_ENCODE_ALG_AES_CMAC;
break;
#endif /* CONFIG_IEEE80211W */
-#endif /* WEXT_MFP_PENDING */
default:
wpa_printf(MSG_DEBUG, "%s: Unknown algorithm %d",
__FUNCTION__, alg);
@@ -2084,7 +2082,6 @@ int wpa_driver_wext_associate(void *priv,
IW_AUTH_RX_UNENCRYPTED_EAPOL,
allow_unencrypted_eapol) < 0)
ret = -1;
-#ifdef WEXT_MFP_PENDING
#ifdef CONFIG_IEEE80211W
switch (params->mgmt_frame_protection) {
case NO_MGMT_FRAME_PROTECTION:
@@ -2100,7 +2097,6 @@ int wpa_driver_wext_associate(void *priv,
if (wpa_driver_wext_set_auth_param(drv, IW_AUTH_MFP, value) < 0)
ret = -1;
#endif /* CONFIG_IEEE80211W */
-#endif /* WEXT_MFP_PENDING */
if (params->freq && wpa_driver_wext_set_freq(drv, params->freq) < 0)
ret = -1;
if (wpa_driver_wext_set_ssid(drv, params->ssid, params->ssid_len) < 0)