diff options
Diffstat (limited to 'package/madwifi/patches/378-adhoc_crash_fix.patch')
-rw-r--r-- | package/madwifi/patches/378-adhoc_crash_fix.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/package/madwifi/patches/378-adhoc_crash_fix.patch b/package/madwifi/patches/378-adhoc_crash_fix.patch deleted file mode 100644 index 5b91683674..0000000000 --- a/package/madwifi/patches/378-adhoc_crash_fix.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/net80211/ieee80211_input.c -+++ b/net80211/ieee80211_input.c -@@ -3529,6 +3529,11 @@ ieee80211_recv_mgmt(struct ieee80211vap - if (ic->ic_flags & IEEE80211_F_SCAN) { - ieee80211_add_scan(vap, &scan, wh, subtype, rssi, rtsf); - } -+ -+ /* stop processing if the bss channel is not set up yet */ -+ if (!ic->ic_bsschan || ic->ic_bsschan == IEEE80211_CHAN_ANYC) -+ break; -+ - /* NB: Behavior of WDS-Link and Ad-Hoc is very similar here: - * When we receive a beacon that belongs to the AP that we're - * connected to, use it to refresh the local node info. |