projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: cached state vars after scan_interfaces might be out of sync...
[openwrt.git]
/
package
/
madwifi
/
patches
/
451-ibss_race_fix.patch
diff --git
a/package/madwifi/patches/451-ibss_race_fix.patch
b/package/madwifi/patches/451-ibss_race_fix.patch
index
d25d3cc
..
8349b31
100644
(file)
--- a/
package/madwifi/patches/451-ibss_race_fix.patch
+++ b/
package/madwifi/patches/451-ibss_race_fix.patch
@@
-53,13
+53,13
@@
int found = 0;
IEEE80211_LOCK_IRQ(vap->iv_ic);
int found = 0;
IEEE80211_LOCK_IRQ(vap->iv_ic);
-@@ -35
68,14 +3561
,12 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -35
70,14 +3563
,12 @@ ieee80211_recv_mgmt(struct ieee80211vap
}
}
if (found)
- ni = ni_or_null = avp->iv_wdsnode;
+ tni = ieee80211_ref_node(avp->iv_wdsnode);
}
}
if (found)
- ni = ni_or_null = avp->iv_wdsnode;
+ tni = ieee80211_ref_node(avp->iv_wdsnode);
- } else if (
vap->iv_opmode == IEEE80211_M_WDS
) {
+ } else if (
(vap->iv_opmode == IEEE80211_M_WDS) && vap->iv_wdsnode
) {
found = 1;
- ni = ni_or_null = vap->iv_wdsnode;
- } else if (vap->iv_opmode == IEEE80211_M_IBSS) {
found = 1;
- ni = ni_or_null = vap->iv_wdsnode;
- } else if (vap->iv_opmode == IEEE80211_M_IBSS) {
@@
-72,7
+72,7
@@
found = 1;
}
IEEE80211_UNLOCK_IRQ(vap->iv_ic);
found = 1;
}
IEEE80211_UNLOCK_IRQ(vap->iv_ic);
-@@ -358
3,20 +3574
,21 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -358
5,20 +3576
,21 @@ ieee80211_recv_mgmt(struct ieee80211vap
if (!found)
break;
if (!found)
break;
@@
-100,7
+100,7
@@
} else {
/*
* Copy data from beacon to neighbor table.
} else {
/*
* Copy data from beacon to neighbor table.
-@@ -360
4,39 +3596
,38 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -360
6,39 +3598
,38 @@ ieee80211_recv_mgmt(struct ieee80211vap
* ieee80211_add_neighbor(), so we just copy
* everything over to be safe.
*/
* ieee80211_add_neighbor(), so we just copy
* everything over to be safe.
*/
This page took
0.021335 seconds
and
4
git commands to generate.