diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-04 00:05:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-04 00:05:56 +0000 |
commit | b847b4f846c3d0accc19cc6b201f62b13718b7bc (patch) | |
tree | 908286db0913c6b9f5dddf0ef1c40f6261200d87 /package/madwifi | |
parent | 7b6bda3ebf545bf57293a13feff50bdde6afe26a (diff) | |
download | upstream-b847b4f846c3d0accc19cc6b201f62b13718b7bc.tar.gz upstream-b847b4f846c3d0accc19cc6b201f62b13718b7bc.tar.bz2 upstream-b847b4f846c3d0accc19cc6b201f62b13718b7bc.zip |
madwifi: fix a crash bug related to refcounting of bss nodes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/patches/451-ibss_race_fix.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/package/madwifi/patches/451-ibss_race_fix.patch b/package/madwifi/patches/451-ibss_race_fix.patch index 9be3311fda..d25d3cc88f 100644 --- a/package/madwifi/patches/451-ibss_race_fix.patch +++ b/package/madwifi/patches/451-ibss_race_fix.patch @@ -194,17 +194,6 @@ } IEEE80211_ADDR_COPY(ni->ni_bssid, vap->iv_myaddr); -@@ -429,8 +425,8 @@ ieee80211_reset_bss(struct ieee80211vap - __func__, ni, MAC_ADDR(vap->iv_myaddr)); - KASSERT(ni != NULL, ("unable to setup inital BSS node")); - -- vap->iv_bss = ieee80211_ref_node(ni); -- KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 3), -+ vap->iv_bss = ni; -+ KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 2), - ("wrong refcount for new node.")); - - if (obss != NULL) { @@ -647,7 +643,7 @@ ieee80211_sta_join1(struct ieee80211_nod (vap->iv_state == IEEE80211_S_RUN) && bssid_equal(obss, selbs)); */ vap->iv_bss = selbs; |