diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-04-06 05:18:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-07 14:38:03 -0400 |
commit | 66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae (patch) | |
tree | 6abfe5fea2aa8b7749e6ef5385b81d4e5d40c82b /net/mac80211/rx.c | |
parent | 2b43ae6daf26f29cec49fa3a3f18025355495500 (diff) |
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, | |||
739 | /* if this mpdu is fragmented - terminate rx aggregation session */ | 739 | /* if this mpdu is fragmented - terminate rx aggregation session */ |
740 | sc = le16_to_cpu(hdr->seq_ctrl); | 740 | sc = le16_to_cpu(hdr->seq_ctrl); |
741 | if (sc & IEEE80211_SCTL_FRAG) { | 741 | if (sc & IEEE80211_SCTL_FRAG) { |
742 | ieee80211_sta_stop_rx_ba_session(sta->sdata, sta->sta.addr, | 742 | __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, |
743 | tid, 0, WLAN_REASON_QSTA_REQUIRE_SETUP); | 743 | WLAN_REASON_QSTA_REQUIRE_SETUP); |
744 | dev_kfree_skb(skb); | 744 | dev_kfree_skb(skb); |
745 | return; | 745 | return; |
746 | } | 746 | } |