summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/391-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/391-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/391-vap_auth.patch')
-rw-r--r--package/madwifi/patches/391-vap_auth.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/391-vap_auth.patch b/package/madwifi/patches/391-vap_auth.patch
index b317be0..832f9e1 100644
--- a/package/madwifi/patches/391-vap_auth.patch
+++ b/package/madwifi/patches/391-vap_auth.patch
@@ -1,6 +1,6 @@
--- a/net80211/ieee80211_input.c
+++ b/net80211/ieee80211_input.c
-@@ -1374,7 +1374,7 @@ ieee80211_auth_open(struct ieee80211_nod
+@@ -1375,7 +1375,7 @@ ieee80211_auth_open(struct ieee80211_nod
vap->iv_stats.is_rx_bad_auth++; /* XXX maybe a unique error? */
if (vap->iv_opmode == IEEE80211_M_HOSTAP) {
if (ni == vap->iv_bss) {
@@ -9,7 +9,7 @@
if (ni == NULL)
return;
tmpnode = 1;
-@@ -1762,6 +1762,8 @@ ieee80211_ssid_mismatch(struct ieee80211
+@@ -1763,6 +1763,8 @@ ieee80211_ssid_mismatch(struct ieee80211
}
#define IEEE80211_VERIFY_SSID(_ni, _ssid) do { \
@@ -18,7 +18,7 @@
if ((_ssid)[1] != 0 && \
((_ssid)[1] != (_ni)->ni_esslen || \
memcmp((_ssid) + 2, (_ni)->ni_essid, (_ssid)[1]) != 0)) { \
-@@ -1776,6 +1778,8 @@ ieee80211_ssid_mismatch(struct ieee80211
+@@ -1777,6 +1779,8 @@ ieee80211_ssid_mismatch(struct ieee80211
} while (0)
#else /* !IEEE80211_DEBUG */
#define IEEE80211_VERIFY_SSID(_ni, _ssid) do { \