]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[PATCH] softmac: reduce scan dwell time
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 23 Mar 2006 14:00:02 +0000 (14:00 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Mar 2006 19:04:09 +0000 (14:04 -0500)
It currently takes something like 8 seconds to do a scan, because we
spend half a second on each channel. Reduce that time to 20ms per
channel.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_priv.h

index 9ba7dbd161eb292a24fa8e1e3b9d4a647cbb0166..65d9816c8ecc0569ca63085c2753e5e1e954c014 100644 (file)
@@ -167,7 +167,7 @@ static inline int ieee80211softmac_scan_sanity_check(struct ieee80211softmac_dev
                ) || ieee80211softmac_scan_handlers_check_self(sm);
 }
 
-#define IEEE80211SOFTMAC_PROBE_DELAY           HZ/2
+#define IEEE80211SOFTMAC_PROBE_DELAY           HZ/50
 #define IEEE80211SOFTMAC_WORKQUEUE_NAME_LEN    (17 + IFNAMSIZ)
 
 struct ieee80211softmac_network {