diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-03-23 09:00:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 14:04:09 -0500 |
commit | 16f4352733d19c2d496f682c08cff368ba0495d0 (patch) | |
tree | a7ae0a31f61325604f5f7da380227fa8d4bda944 | |
parent | d94606e058fccf5e22537bcc6d0f297224350303 (diff) |
[PATCH] softmac: reduce scan dwell time
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>
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_priv.h b/net/ieee80211/softmac/ieee80211softmac_priv.h index 9ba7dbd161eb..65d9816c8ecc 100644 --- a/net/ieee80211/softmac/ieee80211softmac_priv.h +++ b/net/ieee80211/softmac/ieee80211softmac_priv.h | |||
@@ -167,7 +167,7 @@ static inline int ieee80211softmac_scan_sanity_check(struct ieee80211softmac_dev | |||
167 | ) || ieee80211softmac_scan_handlers_check_self(sm); | 167 | ) || ieee80211softmac_scan_handlers_check_self(sm); |
168 | } | 168 | } |
169 | 169 | ||
170 | #define IEEE80211SOFTMAC_PROBE_DELAY HZ/2 | 170 | #define IEEE80211SOFTMAC_PROBE_DELAY HZ/50 |
171 | #define IEEE80211SOFTMAC_WORKQUEUE_NAME_LEN (17 + IFNAMSIZ) | 171 | #define IEEE80211SOFTMAC_WORKQUEUE_NAME_LEN (17 + IFNAMSIZ) |
172 | 172 | ||
173 | struct ieee80211softmac_network { | 173 | struct ieee80211softmac_network { |