projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git]
/
package
/
madwifi
/
patches
/
370-wdsvap.patch
diff --git
a/package/madwifi/patches/370-wdsvap.patch
b/package/madwifi/patches/370-wdsvap.patch
index
9da13a6
..
e507afb
100644
(file)
--- a/
package/madwifi/patches/370-wdsvap.patch
+++ b/
package/madwifi/patches/370-wdsvap.patch
@@
-794,7
+794,7
@@
vap->iv_stats.is_rx_mgtdiscard++;
return;
}
vap->iv_stats.is_rx_mgtdiscard++;
return;
}
-@@ -3471,13 +3519,5
4
@@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -3471,13 +3519,5
6
@@ ieee80211_recv_mgmt(struct ieee80211vap
*/
if (ic->ic_flags & IEEE80211_F_SCAN) {
ieee80211_add_scan(vap, &scan, wh, subtype, rssi, rtsf);
*/
if (ic->ic_flags & IEEE80211_F_SCAN) {
ieee80211_add_scan(vap, &scan, wh, subtype, rssi, rtsf);
@@
-822,13
+822,15
@@
+ if (!memcmp(avp->wds_mac, wh->i_addr2, IEEE80211_ADDR_LEN)) {
+ if (avp->iv_state != IEEE80211_S_RUN)
+ continue;
+ if (!memcmp(avp->wds_mac, wh->i_addr2, IEEE80211_ADDR_LEN)) {
+ if (avp->iv_state != IEEE80211_S_RUN)
+ continue;
++ if (!avp->iv_wdsnode)
++ continue;
+ found = 1;
+ break;
+ }
+ }
+ if (found)
+ ni = ni_or_null = avp->iv_wdsnode;
+ found = 1;
+ break;
+ }
+ }
+ if (found)
+ ni = ni_or_null = 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;
+ }
+ found = 1;
+ ni = ni_or_null = vap->iv_wdsnode;
+ }
@@
-854,7
+856,7
@@
} else {
/*
* Copy data from beacon to neighbor table.
} else {
/*
* Copy data from beacon to neighbor table.
-@@ -3490,6 +35
79
,7 @@ ieee80211_recv_mgmt(struct ieee80211vap
+@@ -3490,6 +35
81
,7 @@ ieee80211_recv_mgmt(struct ieee80211vap
IEEE80211_ADDR_COPY(ni->ni_bssid, wh->i_addr3);
memcpy(ni->ni_tstamp.data, scan.tstamp,
sizeof(ni->ni_tstamp));
IEEE80211_ADDR_COPY(ni->ni_bssid, wh->i_addr3);
memcpy(ni->ni_tstamp.data, scan.tstamp,
sizeof(ni->ni_tstamp));
This page took
0.020558 seconds
and
4
git commands to generate.