aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit08132839a5e16a7eb84720d34749fda3f1aa8fd5 (patch)
treeb037d2aeee87e51a1a37cfeaf48528870374e7ce /package
parentdb240e64287c0b9e8475fa4d2830b6eec4b72cef (diff)
downloadmaster-187ad058-08132839a5e16a7eb84720d34749fda3f1aa8fd5.tar.gz
master-187ad058-08132839a5e16a7eb84720d34749fda3f1aa8fd5.tar.bz2
master-187ad058-08132839a5e16a7eb84720d34749fda3f1aa8fd5.zip
mac80211: fix WDS AP authentication issues (#11261, #11318)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/300-pending_work.patch10
-rw-r--r--package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch2
2 files changed, 11 insertions, 1 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 79d8277ed9..668005b7f3 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)
diff --git a/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch b/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
index a7e1fc1b6f..71dae84735 100644
--- a/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
+++ b/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
@@ -69,7 +69,7 @@
txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP ||
tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT ||
tx->sdata->vif.type == NL80211_IFTYPE_ADHOC);
-@@ -2479,8 +2481,6 @@ struct sk_buff *ieee80211_beacon_get_tim
+@@ -2480,8 +2482,6 @@ struct sk_buff *ieee80211_beacon_get_tim
txrc.max_rate_idx = -1;
else
txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1;