diff options
Diffstat (limited to 'net/mac80211/wext.c')
-rw-r--r-- | net/mac80211/wext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index e55d2834764c..ce21d66b1023 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -137,6 +137,7 @@ static int ieee80211_ioctl_siwgenie(struct net_device *dev, | |||
137 | if (ret) | 137 | if (ret) |
138 | return ret; | 138 | return ret; |
139 | sdata->u.mgd.flags &= ~IEEE80211_STA_AUTO_BSSID_SEL; | 139 | sdata->u.mgd.flags &= ~IEEE80211_STA_AUTO_BSSID_SEL; |
140 | sdata->u.mgd.flags &= ~IEEE80211_STA_EXT_SME; | ||
140 | ieee80211_sta_req_auth(sdata); | 141 | ieee80211_sta_req_auth(sdata); |
141 | return 0; | 142 | return 0; |
142 | } | 143 | } |
@@ -224,6 +225,7 @@ static int ieee80211_ioctl_siwessid(struct net_device *dev, | |||
224 | if (ret) | 225 | if (ret) |
225 | return ret; | 226 | return ret; |
226 | 227 | ||
228 | sdata->u.mgd.flags &= ~IEEE80211_STA_EXT_SME; | ||
227 | ieee80211_sta_req_auth(sdata); | 229 | ieee80211_sta_req_auth(sdata); |
228 | return 0; | 230 | return 0; |
229 | } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) | 231 | } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) |
@@ -287,6 +289,7 @@ static int ieee80211_ioctl_siwap(struct net_device *dev, | |||
287 | ret = ieee80211_sta_set_bssid(sdata, (u8 *) &ap_addr->sa_data); | 289 | ret = ieee80211_sta_set_bssid(sdata, (u8 *) &ap_addr->sa_data); |
288 | if (ret) | 290 | if (ret) |
289 | return ret; | 291 | return ret; |
292 | sdata->u.mgd.flags &= ~IEEE80211_STA_EXT_SME; | ||
290 | ieee80211_sta_req_auth(sdata); | 293 | ieee80211_sta_req_auth(sdata); |
291 | return 0; | 294 | return 0; |
292 | } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { | 295 | } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { |