summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/391-vap_auth.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-26 02:57:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-26 02:57:44 +0000
commit10e3ea9f129ce908abf7e1e73e318aef7d2f5e16 (patch)
tree840783aaef7ea3ed398f31e98b86b5b90d5c1331 /package/madwifi/patches/391-vap_auth.patch
parentf561b910e8d47b4b488fd37a389c2973649a23fd (diff)
downloadmtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.zip
mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.gz
mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.bz2
madwifi: preserve the interface mode correctly when using wds with sta separation
SVN-Revision: 14195
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 acee271..b317be0 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 +1386,7 @@ ieee80211_auth_open(struct ieee80211_nod
+@@ -1374,7 +1374,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 +1774,8 @@ ieee80211_ssid_mismatch(struct ieee80211
+@@ -1762,6 +1762,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 +1790,8 @@ ieee80211_ssid_mismatch(struct ieee80211
+@@ -1776,6 +1778,8 @@ ieee80211_ssid_mismatch(struct ieee80211
} while (0)
#else /* !IEEE80211_DEBUG */
#define IEEE80211_VERIFY_SSID(_ni, _ssid) do { \