summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-testing/324-reassoc.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-16 21:06:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-16 21:06:30 +0000
commit6e9522d27e11d14df5acff0022fd3f894f997a7c (patch)
tree7a1bb245b59fb8c1750b905cb1087915a5ffface /package/madwifi/patches-testing/324-reassoc.patch
parent18c93fb457925b1fbf73acbde7cd3c722d8ef8f1 (diff)
downloadmtk-20170518-6e9522d27e11d14df5acff0022fd3f894f997a7c.zip
mtk-20170518-6e9522d27e11d14df5acff0022fd3f894f997a7c.tar.gz
mtk-20170518-6e9522d27e11d14df5acff0022fd3f894f997a7c.tar.bz2
remove madwifi-testing (it confuses users) - it doesn't work, never has, and i'm not going to finish it.
SVN-Revision: 12992
Diffstat (limited to 'package/madwifi/patches-testing/324-reassoc.patch')
-rw-r--r--package/madwifi/patches-testing/324-reassoc.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/madwifi/patches-testing/324-reassoc.patch b/package/madwifi/patches-testing/324-reassoc.patch
deleted file mode 100644
index 7d1ade3..0000000
--- a/package/madwifi/patches-testing/324-reassoc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Add a preliminary fix for the reassoc check, but disable reassoc entirely for now
-until we've figured out why it fails frequently.
-
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-
---- a/net80211/ieee80211_node.c
-+++ b/net80211/ieee80211_node.c
-@@ -561,10 +561,9 @@
- EXPORT_SYMBOL(ieee80211_ibss_merge);
-
- static __inline int
--ssid_equal(const struct ieee80211_node *a, const struct ieee80211_node *b)
-+bssid_equal(const struct ieee80211_node *a, const struct ieee80211_node *b)
- {
-- return (a->ni_esslen == b->ni_esslen &&
-- memcmp(a->ni_essid, b->ni_essid, a->ni_esslen) == 0);
-+ return (memcmp(a->ni_bssid, b->ni_bssid, IEEE80211_ADDR_LEN) == 0);
- }
-
- /*
-@@ -596,8 +595,8 @@
- * Check if old+new node have the same ssid in which
- * case we can reassociate when operating in sta mode.
- */
-- canreassoc = ((obss != NULL) &&
-- (vap->iv_state == IEEE80211_S_RUN) && ssid_equal(obss, selbs));
-+ canreassoc = 0; /* ((obss != NULL) &&
-+ (vap->iv_state == IEEE80211_S_RUN) && bssid_equal(obss, selbs)); */
- vap->iv_bss = selbs;
- IEEE80211_ADDR_COPY(vap->iv_bssid, selbs->ni_bssid);
- if (obss != NULL)