mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11929 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0e939a443a
commit
277d6885b0
10
package/madwifi/patches/369-mlme_assoc.patch
Normal file
10
package/madwifi/patches/369-mlme_assoc.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/net80211/ieee80211_wireless.c
|
||||
+++ b/net80211/ieee80211_wireless.c
|
||||
@@ -3726,6 +3726,7 @@
|
||||
if (vap->iv_opmode == IEEE80211_M_STA) {
|
||||
struct scanlookup lookup;
|
||||
|
||||
+ preempt_scan(dev, 100, 100);
|
||||
lookup.se = NULL;
|
||||
lookup.mac = mlme->im_macaddr;
|
||||
/* XXX use revised api w/ explicit ssid */
|
||||
Loading…
x
Reference in New Issue
Block a user