mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
madwifi: fix a rare ad-hoc mode crash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15964 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0398b9f54d
commit
817a0c0c76
11
package/madwifi/patches/435-ibss_neighbor_fix.patch
Normal file
11
package/madwifi/patches/435-ibss_neighbor_fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/net80211/ieee80211_input.c
|
||||
+++ b/net80211/ieee80211_input.c
|
||||
@@ -313,7 +313,7 @@ ieee80211_input(struct ieee80211vap * va
|
||||
if (type == IEEE80211_FC0_TYPE_DATA && ni == vap->iv_bss &&
|
||||
!IEEE80211_ADDR_EQ(vap->iv_bss->ni_macaddr, wh->i_addr2)) {
|
||||
/* Try to find sender in local node table. */
|
||||
- ni = ieee80211_find_node(vap->iv_bss->ni_table, wh->i_addr2);
|
||||
+ ni = ieee80211_find_node(&ic->ic_sta, wh->i_addr2);
|
||||
if (ni == NULL) {
|
||||
/*
|
||||
* Fake up a node for this newly discovered
|
Loading…
Reference in New Issue
Block a user