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)
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>

No differences found