summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/393-mbss_vap_auth.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-14 10:45:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-14 10:45:34 +0000
commit36d7f7c017ba6496b50a428678b98acabf973361 (patch)
tree73e63be251ed7a8afe4b959b6b821ee7004b46b2 /package/madwifi/patches/393-mbss_vap_auth.patch
parent84c01891da05d326e77e2e0a31f100f1360be47d (diff)
downloadmtk-20170518-36d7f7c017ba6496b50a428678b98acabf973361.zip
mtk-20170518-36d7f7c017ba6496b50a428678b98acabf973361.tar.gz
mtk-20170518-36d7f7c017ba6496b50a428678b98acabf973361.tar.bz2
madwifi: fix a wds related race condition
SVN-Revision: 17578
Diffstat (limited to 'package/madwifi/patches/393-mbss_vap_auth.patch')
-rw-r--r--package/madwifi/patches/393-mbss_vap_auth.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/madwifi/patches/393-mbss_vap_auth.patch b/package/madwifi/patches/393-mbss_vap_auth.patch
index d184fa2..71e11fa 100644
--- a/package/madwifi/patches/393-mbss_vap_auth.patch
+++ b/package/madwifi/patches/393-mbss_vap_auth.patch
@@ -305,7 +305,7 @@
if (skb != NULL) /* no vaps, reclaim skb */
ieee80211_dev_kfree_skb(&skb);
return type;
-@@ -1146,11 +1157,9 @@ ieee80211_deliver_data(struct ieee80211_
+@@ -1147,11 +1158,9 @@ ieee80211_deliver_data(struct ieee80211_
* sending it will not work; just let it be
* delivered normally.
*/
@@ -319,7 +319,7 @@
!ni1->ni_subif &&
ni1 != vap->iv_bss) {
-@@ -3519,6 +3528,7 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -3520,6 +3529,7 @@ ieee80211_recv_mgmt(struct ieee80211vap
(vap->iv_opmode == IEEE80211_M_WDS)) &&
(scan.capinfo & IEEE80211_CAPINFO_ESS))) {
struct ieee80211vap *avp = NULL;
@@ -327,7 +327,7 @@
int found = 0;
IEEE80211_LOCK_IRQ(vap->iv_ic);
-@@ -3550,10 +3560,12 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -3551,10 +3561,12 @@ ieee80211_recv_mgmt(struct ieee80211vap
ni->ni_associd |= 0xc000;
avp->iv_wdsnode = ieee80211_ref_node(ni);
IEEE80211_UNLOCK_IRQ(ic);
@@ -341,7 +341,7 @@
} else {
/*
* Copy data from beacon to neighbor table.
-@@ -3592,6 +3604,8 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -3593,6 +3605,8 @@ ieee80211_recv_mgmt(struct ieee80211vap
ni->ni_rssi = rssi;
ni->ni_rtsf = rtsf;
ni->ni_last_rx = jiffies;