diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-04-06 11:18:45 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-07 14:38:03 -0400 |
commit | 66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae (patch) | |
tree | 6abfe5fea2aa8b7749e6ef5385b81d4e5d40c82b /net/mac80211/ht.c | |
parent | 2b43ae6daf26f29cec49fa3a3f18025355495500 (diff) | |
download | linux-3.10-66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae.tar.gz linux-3.10-66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae.tar.bz2 linux-3.10-66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae.zip |
mac80211: remove ieee80211_sta_stop_rx_ba_session
All callers of ieee80211_sta_stop_rx_ba_session can
just call __ieee80211_stop_rx_ba_session instead
because they already have the station struct, so do
that and remove ieee80211_sta_stop_rx_ba_session.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ht.c')
-rw-r--r-- | net/mac80211/ht.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index bb677a73b7c..2ab106a0a49 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c @@ -175,8 +175,7 @@ void ieee80211_process_delba(struct ieee80211_sub_if_data *sdata, #endif /* CONFIG_MAC80211_HT_DEBUG */ if (initiator == WLAN_BACK_INITIATOR) - ieee80211_sta_stop_rx_ba_session(sdata, sta->sta.addr, tid, - WLAN_BACK_INITIATOR, 0); + __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_INITIATOR, 0); else { /* WLAN_BACK_RECIPIENT */ spin_lock_bh(&sta->lock); if (sta->ampdu_mlme.tid_state_tx[tid] & HT_ADDBA_REQUESTED_MSK) |