Merge branch 'for-john' of git://git.sipsolutions.net/mac80211-next
[deliverable/linux.git] / net / mac80211 / status.c
index ab50285fcbab4fb5206660eaf494875a3e2a026c..07d99578a2b1406aecd72e38934a05ea82d09d9e 100644 (file)
@@ -502,7 +502,11 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
                                       IEEE80211_BAR_CTRL_TID_INFO_MASK) >>
                                      IEEE80211_BAR_CTRL_TID_INFO_SHIFT;
 
-                               ieee80211_set_bar_pending(sta, tid, ssn);
+                               if (local->hw.flags &
+                                   IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL)
+                                       ieee80211_stop_tx_ba_session(&sta->sta, tid);
+                               else
+                                       ieee80211_set_bar_pending(sta, tid, ssn);
                        }
                }
 
This page took 0.027535 seconds and 5 git commands to generate.