aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commit277d6885b028e8fae61e97f9aeed6d5f9de66035 (patch)
treeaa75a8f921b792713e44eec8c5fc8a5903d58388 /package/madwifi
parent0e939a443a66ae3bbcbdc06799b43030d71cddf4 (diff)
downloadmaster-187ad058-277d6885b028e8fae61e97f9aeed6d5f9de66035.tar.gz
master-187ad058-277d6885b028e8fae61e97f9aeed6d5f9de66035.tar.bz2
master-187ad058-277d6885b028e8fae61e97f9aeed6d5f9de66035.zip
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
Diffstat (limited to 'package/madwifi')
-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 */