]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5491b50c7b113431aae79864f4307a546ae1d4c7
treec93f300b8e3ccad330251309c062f46476f159a5
parent4f6406215e7127fa6c0cf94ebff10e56465f839a
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