mac80211: don't send delBA on addBA failure
Johannes Berg [Wed, 18 Jul 2012 11:04:32 +0000 (13:04 +0200)]
There's no reason to send a delBA when the
peer refused our addBA, so change that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

net/mac80211/agg-tx.c

index d0deb3e..3195a63 100644 (file)
@@ -869,7 +869,7 @@ void ieee80211_process_addba_resp(struct ieee80211_local *local,
 
        } else {
                ___ieee80211_stop_tx_ba_session(sta, tid, WLAN_BACK_INITIATOR,
-                                               true);
+                                               false);
        }
 
  out: