diff options
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 1afa9ec81fe8..906fc2be0cfb 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -339,7 +339,6 @@ static int ieee80211_stop(struct net_device *dev) | |||
339 | { | 339 | { |
340 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 340 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
341 | struct ieee80211_local *local = sdata->local; | 341 | struct ieee80211_local *local = sdata->local; |
342 | struct sta_info *sta; | ||
343 | unsigned long flags; | 342 | unsigned long flags; |
344 | struct sk_buff *skb, *tmp; | 343 | struct sk_buff *skb, *tmp; |
345 | u32 hw_reconf_flags = 0; | 344 | u32 hw_reconf_flags = 0; |
@@ -356,18 +355,6 @@ static int ieee80211_stop(struct net_device *dev) | |||
356 | ieee80211_work_purge(sdata); | 355 | ieee80211_work_purge(sdata); |
357 | 356 | ||
358 | /* | 357 | /* |
359 | * Now delete all active aggregation sessions. | ||
360 | */ | ||
361 | rcu_read_lock(); | ||
362 | |||
363 | list_for_each_entry_rcu(sta, &local->sta_list, list) { | ||
364 | if (sta->sdata == sdata) | ||
365 | ieee80211_sta_tear_down_BA_sessions(sta); | ||
366 | } | ||
367 | |||
368 | rcu_read_unlock(); | ||
369 | |||
370 | /* | ||
371 | * Remove all stations associated with this interface. | 358 | * Remove all stations associated with this interface. |
372 | * | 359 | * |
373 | * This must be done before calling ops->remove_interface() | 360 | * This must be done before calling ops->remove_interface() |