summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/300-pending_work.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-29 13:47:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-29 13:47:37 +0000
commitbfa2c971a022b64d408661a49159ab32e31614cf (patch)
treec69eb2fc8b06fc089c9fb59b77a6c566c1bcb242 /package/mac80211/patches/300-pending_work.patch
parentf44934b9ae5adecdafa93654231644bee7a437f8 (diff)
downloadmtk-20170518-bfa2c971a022b64d408661a49159ab32e31614cf.zip
mtk-20170518-bfa2c971a022b64d408661a49159ab32e31614cf.tar.gz
mtk-20170518-bfa2c971a022b64d408661a49159ab32e31614cf.tar.bz2
mac80211: fix WDS AP authentication issues (#11261, #11318)
SVN-Revision: 31517
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r--package/mac80211/patches/300-pending_work.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 79d8277..668005b 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -918,3 +918,13 @@
/*
* No associated STAs - no need to send multicast
* frames.
+@@ -1159,7 +1159,8 @@ ieee80211_tx_prepare(struct ieee80211_su
+ tx->sta = rcu_dereference(sdata->u.vlan.sta);
+ if (!tx->sta && sdata->dev->ieee80211_ptr->use_4addr)
+ return TX_DROP;
+- } else if (info->flags & IEEE80211_TX_CTL_INJECTED) {
++ } else if (info->flags & IEEE80211_TX_CTL_INJECTED ||
++ tx->sdata->control_port_protocol == tx->skb->protocol) {
+ tx->sta = sta_info_get_bss(sdata, hdr->addr1);
+ }
+ if (!tx->sta)