madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
authorFelix Fietkau <nbd@openwrt.org>
Fri, 25 Jul 2008 22:37:21 +0000 (22:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 25 Jul 2008 22:37:21 +0000 (22:37 +0000)
SVN-Revision: 11929

package/madwifi/patches/369-mlme_assoc.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/369-mlme_assoc.patch b/package/madwifi/patches/369-mlme_assoc.patch
new file mode 100644 (file)
index 0000000..9da42a7
--- /dev/null
@@ -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 */