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 20:38:03 +0200 |
commit | 66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae (patch) | |
tree | 6abfe5fea2aa8b7749e6ef5385b81d4e5d40c82b /net/mac80211/rx.c | |
parent | mac80211: remove irq disabling for sta lock (diff) | |
download | linux-66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae.tar.xz linux-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/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index b83d4db6ca6a..c02e43b50ac3 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -739,8 +739,8 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx, /* if this mpdu is fragmented - terminate rx aggregation session */ sc = le16_to_cpu(hdr->seq_ctrl); if (sc & IEEE80211_SCTL_FRAG) { - ieee80211_sta_stop_rx_ba_session(sta->sdata, sta->sta.addr, - tid, 0, WLAN_REASON_QSTA_REQUIRE_SETUP); + __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, + WLAN_REASON_QSTA_REQUIRE_SETUP); dev_kfree_skb(skb); return; } |