iwlwifi: fix radio reset scan dwell vs. quiet time
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 19:25:15 +0000 (21:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Jun 2012 08:01:22 +0000 (10:01 +0200)
commit3f8a9e76672202bfb55cc83b5fdc66306d3d170a
treec93f300b8e3ccad330251309c062f46476f159a5
parent8d40f4eebf43bd73aa7c6e06665fd7a26012f9c9
iwlwifi: fix radio reset scan dwell vs. quiet time

My previous commit to shorten the radio reset time
caused issues as the firmware checks the active
dwell time against the quiet time, asserting that
the dwell is >= quiet time. This isn't really
needed in case of passive scanning like here, but
of course we need to pass that check.

To fix this, override the quiet time to be the
same as the radio reset dwell time.

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