mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
[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>
This commit is contained in:
parent
d94606e058
commit
16f4352733
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user