aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index b7c8a4484298..b87bf425f857 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -486,8 +486,6 @@ static int ieee80211_stop(struct net_device *dev)
486 synchronize_rcu(); 486 synchronize_rcu();
487 skb_queue_purge(&sdata->u.mgd.skb_queue); 487 skb_queue_purge(&sdata->u.mgd.skb_queue);
488 488
489 sdata->u.mgd.flags &= ~(IEEE80211_STA_PRIVACY_INVOKED |
490 IEEE80211_STA_TKIP_WEP_USED);
491 kfree(sdata->u.mgd.extra_ie); 489 kfree(sdata->u.mgd.extra_ie);
492 sdata->u.mgd.extra_ie = NULL; 490 sdata->u.mgd.extra_ie = NULL;
493 sdata->u.mgd.extra_ie_len = 0; 491 sdata->u.mgd.extra_ie_len = 0;