mac80211: remove dead code, clean up
With mac80211 now always controlled by an external SME, a lot of code is dead -- SSID, BSSID, channel selection is always done externally, etc. Additionally, rename IEEE80211_STA_TKIP_WEP_USED to IEEE80211_STA_DISABLE_11N and clean up the code a bit. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
6dc1cb0319
commit
ab1faead50
@ -486,8 +486,6 @@ static int ieee80211_stop(struct net_device *dev)
|
||||
synchronize_rcu();
|
||||
skb_queue_purge(&sdata->u.mgd.skb_queue);
|
||||
|
||||
sdata->u.mgd.flags &= ~(IEEE80211_STA_PRIVACY_INVOKED |
|
||||
IEEE80211_STA_TKIP_WEP_USED);
|
||||
kfree(sdata->u.mgd.extra_ie);
|
||||
sdata->u.mgd.extra_ie = NULL;
|
||||
sdata->u.mgd.extra_ie_len = 0;
|
||||
|
Reference in New Issue
Block a user