diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-08 06:32:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:05 -0500 |
commit | fdfacf0ae2e8339098b1164d2317b792d7662c0a (patch) | |
tree | c30dd93d00d1aa5a7b55ee635d271b2761880c2b /net/mac80211/mlme.c | |
parent | 22787dbaa3b952602542506e0426ea6d5f104042 (diff) |
mac80211: 802.11w - Configuration of MFP disabled/optional/required
Add new WEXT IW_AUTH_* parameter for setting MFP
disabled/optional/required.
Signed-off-by: Jouni Malinen <j@w1.fi>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index bc8a7f1a6a15..42c5f981c715 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2317,6 +2317,10 @@ static int ieee80211_sta_config_auth(struct ieee80211_sub_if_data *sdata, | |||
2317 | selected->ssid_len); | 2317 | selected->ssid_len); |
2318 | ieee80211_sta_set_bssid(sdata, selected->bssid); | 2318 | ieee80211_sta_set_bssid(sdata, selected->bssid); |
2319 | ieee80211_sta_def_wmm_params(sdata, selected); | 2319 | ieee80211_sta_def_wmm_params(sdata, selected); |
2320 | if (sdata->u.sta.mfp == IEEE80211_MFP_REQUIRED) | ||
2321 | sdata->u.sta.flags |= IEEE80211_STA_MFP_ENABLED; | ||
2322 | else | ||
2323 | sdata->u.sta.flags &= ~IEEE80211_STA_MFP_ENABLED; | ||
2320 | 2324 | ||
2321 | /* Send out direct probe if no probe resp was received or | 2325 | /* Send out direct probe if no probe resp was received or |
2322 | * the one we have is outdated | 2326 | * the one we have is outdated |