summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/300-pending_work.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-27 09:31:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-27 09:31:09 +0000
commitbaf642382759f385610fca039fec38fb19ab6979 (patch)
treea14f7f28d14d7f8d3ffdf4d94fbc6fb66a2904ef /package/mac80211/patches/300-pending_work.patch
parent2c6bd71767a201231ee7b27713b963c0f70ab649 (diff)
downloadmtk-20170518-baf642382759f385610fca039fec38fb19ab6979.zip
mtk-20170518-baf642382759f385610fca039fec38fb19ab6979.tar.gz
mtk-20170518-baf642382759f385610fca039fec38fb19ab6979.tar.bz2
mac80211: merge a pending fix for reestablishing misconfigured aggregation sessions
SVN-Revision: 27292
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r--package/mac80211/patches/300-pending_work.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 4f9138c..8e78e1f 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -9,6 +9,19 @@
mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
IEEE80211_STYPE_ACTION);
+@@ -262,7 +264,11 @@ void ieee80211_process_addba_request(str
+ "%pM on tid %u\n",
+ mgmt->sa, tid);
+ #endif /* CONFIG_MAC80211_HT_DEBUG */
+- goto end;
++
++ /* delete existing Rx BA session on the same tid */
++ ___ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT,
++ WLAN_STATUS_UNSPECIFIED_QOS,
++ false);
+ }
+
+ /* prepare A-MPDU MLME for Rx aggregation */
--- a/net/mac80211/agg-tx.c
+++ b/net/mac80211/agg-tx.c
@@ -79,7 +79,8 @@ static void ieee80211_send_addba_request