diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2013-01-28 08:42:30 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-29 06:16:34 -0500 |
commit | 8df6b7b11a5e4200484e9356073d288f08bdefb0 (patch) | |
tree | 54970586227d9a68fafbdaacce6007b67610aa11 /net/mac80211/status.c | |
parent | 448cd55c37dc3ea30705c4826ac3e7dbbcb74aa2 (diff) |
mac80211: remove IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL
This is basically a revert of:
commit 5b632fe85ec82e5c43740b52e74c66df50a37db3
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date: Mon Dec 3 12:56:33 2012 +0100
mac80211: introduce IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL
We do not need this flag any longer, rt2x00 BAR/BA problem was fixed
correctly by wireless-testing commit:
commit 84e9e8ebd369679a958200a8baca96aafb2393bb
Author: Helmut Schaa <helmut.schaa@googlemail.com>
Date: Thu Jan 17 17:34:32 2013 +0100
rt2x00: Improve TX status handling for BlockAckReq frames
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 07d99578a2b1..ab50285fcbab 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c | |||
@@ -502,11 +502,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
502 | IEEE80211_BAR_CTRL_TID_INFO_MASK) >> | 502 | IEEE80211_BAR_CTRL_TID_INFO_MASK) >> |
503 | IEEE80211_BAR_CTRL_TID_INFO_SHIFT; | 503 | IEEE80211_BAR_CTRL_TID_INFO_SHIFT; |
504 | 504 | ||
505 | if (local->hw.flags & | 505 | ieee80211_set_bar_pending(sta, tid, ssn); |
506 | IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL) | ||
507 | ieee80211_stop_tx_ba_session(&sta->sta, tid); | ||
508 | else | ||
509 | ieee80211_set_bar_pending(sta, tid, ssn); | ||
510 | } | 506 | } |
511 | } | 507 | } |
512 | 508 | ||