madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 369-mlme_assoc.patch
1 --- a/net80211/ieee80211_wireless.c
2 +++ b/net80211/ieee80211_wireless.c
3 @@ -3726,6 +3726,7 @@
4 if (vap->iv_opmode == IEEE80211_M_STA) {
5 struct scanlookup lookup;
6
7 + preempt_scan(dev, 100, 100);
8 lookup.se = NULL;
9 lookup.mac = mlme->im_macaddr;
10 /* XXX use revised api w/ explicit ssid */