aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-10 15:25:52 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:45:44 -0500
commit2dace10efb8b761ccbd18d524f3b14d823edf8c0 (patch)
treeeb067b3081a33bcf3c7cb2b896ac4d844fce2d3e /net/mac80211/mlme.c
parent55687e380a3965ac448e03281e027553a6ae6dac (diff)
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>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 169f10c51042..bfc47b330687 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -954,7 +954,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
954 netif_tx_stop_all_queues(sdata->dev); 954 netif_tx_stop_all_queues(sdata->dev);
955 netif_carrier_off(sdata->dev); 955 netif_carrier_off(sdata->dev);
956 956
957 ieee80211_sta_tear_down_BA_sessions(sdata, sta->sta.addr); 957 ieee80211_sta_tear_down_BA_sessions(sta);
958 958
959 if (self_disconnected) { 959 if (self_disconnected) {
960 if (deauth) 960 if (deauth)