]> Pileus Git - ~andy/linux/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)
commit0d4e07726ea468c0f9bb7f84b02a9f1bfd16b69e
tree4817bf6546c152636eb020692f937b2f75289ef2
parent63d76dc0b97230e012a128a898f56a55e763d91a
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