mac80211: clean up BA session teardown
The sta_info pointer can very well be passed to ieee80211_sta_tear_down_BA_sessions, this will later allow us to pass it through even further. 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
55687e380a
commit
2dace10efb
@@ -954,7 +954,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
|
||||
netif_tx_stop_all_queues(sdata->dev);
|
||||
netif_carrier_off(sdata->dev);
|
||||
|
||||
ieee80211_sta_tear_down_BA_sessions(sdata, sta->sta.addr);
|
||||
ieee80211_sta_tear_down_BA_sessions(sta);
|
||||
|
||||
if (self_disconnected) {
|
||||
if (deauth)
|
||||
|
Reference in New Issue
Block a user