]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: use minimal time for radio reset scan
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2012 08:17:12 +0000 (10:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 06:41:58 +0000 (08:41 +0200)
commit8acc54c13e11c3fe0ee6a86e19cf57c5a0a9b034
tree4817bf6546c152636eb020692f937b2f75289ef2
parenta83ce17cdd27c0978560ad54793ac7b7a3e27f54
iwlwifi: use minimal time for radio reset scan

The effect of using a short single-channel scan
to reset the radio is that scanning a channel
that isn't in use needs to re-tune the radio.
This means that the dwell time is irrelevant,
so use a shorter time.

While at it, clean up the code for this a bit.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/scan.c