aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/380-noderef_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-03 15:17:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-03 15:17:34 +0000
commit187b76991db178fcb6361c58636268e1614b2a9c (patch)
tree779789c568e71b4bf9d53997d2241fccc98c0bc5 /package/madwifi/patches/380-noderef_fix.patch
parentcdcc68d689a5322bb3f5250122a806dcf2085b5f (diff)
downloadupstream-187b76991db178fcb6361c58636268e1614b2a9c.tar.gz
upstream-187b76991db178fcb6361c58636268e1614b2a9c.tar.bz2
upstream-187b76991db178fcb6361c58636268e1614b2a9c.zip
madwifi patch cleanup and stability fixes - fix a semi-random heisenbug by replacing the previous noderef fix with a simple hack that is not 100% correct, but safe. - add ad-hoc atim fixes by bruno - add napi polling fixes by sven-ola - fix compile breakage with debug enabled
SVN-Revision: 12838
Diffstat (limited to 'package/madwifi/patches/380-noderef_fix.patch')
-rw-r--r--package/madwifi/patches/380-noderef_fix.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/madwifi/patches/380-noderef_fix.patch b/package/madwifi/patches/380-noderef_fix.patch
deleted file mode 100644
index fb4192ddf9..0000000000
--- a/package/madwifi/patches/380-noderef_fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/net80211/ieee80211_node.c
-+++ b/net80211/ieee80211_node.c
-@@ -316,7 +316,7 @@
- */
- ni = ieee80211_find_node(&ic->ic_sta, vap->iv_myaddr);
- if (ni == NULL) {
-- ni = ieee80211_alloc_node_table(vap, vap->iv_myaddr);
-+ ni = ieee80211_alloc_node(vap, vap->iv_myaddr);
- IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
- "%s: ni:%p allocated for " MAC_FMT "\n",
- __func__, ni, MAC_ADDR(vap->iv_myaddr));
-@@ -421,14 +421,14 @@
- /* XXX multi-bss wrong */
- ieee80211_reset_erp(ic, ic->ic_curmode);
-
-- ni = ieee80211_alloc_node_table(vap, vap->iv_myaddr);
-+ ni = ieee80211_alloc_node(vap, vap->iv_myaddr);
- IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
- "%s: ni:%p allocated for " MAC_FMT "\n",
- __func__, ni, MAC_ADDR(vap->iv_myaddr));
- KASSERT(ni != NULL, ("unable to setup inital BSS node"));
-
- vap->iv_bss = PASS_NODE(ni);
-- KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 2),
-+ KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 1),
- ("wrong refcount for new node."));
-
- if (obss != NULL) {
-