aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-25 22:37:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-25 22:37:21 +0000
commit144e506288be16801fd046bfefa0921917c33d3d (patch)
tree9fc77a802b9fa50c2e2eeaa59f15d120ade995e3 /package/madwifi/patches
parent21dbb0d64d98760590e4bda1d4ee4391aa6f6516 (diff)
downloadupstream-144e506288be16801fd046bfefa0921917c33d3d.tar.gz
upstream-144e506288be16801fd046bfefa0921917c33d3d.tar.bz2
upstream-144e506288be16801fd046bfefa0921917c33d3d.zip
madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
SVN-Revision: 11929
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/369-mlme_assoc.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/madwifi/patches/369-mlme_assoc.patch b/package/madwifi/patches/369-mlme_assoc.patch
new file mode 100644
index 0000000000..9da42a7e83
--- /dev/null
+++ b/package/madwifi/patches/369-mlme_assoc.patch
@@ -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 */