mirror of https://github.com/hak5/openwrt.git
madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
SVN-Revision: 11929lede-17.01
parent
21dbb0d64d
commit
144e506288
|
@ -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…
Reference in New Issue