iwlwifi: mvm: don't increase max_out_time when low priority scan is requested
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 9 Apr 2015 11:48:11 +0000 (14:48 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:12:47 +0000 (13:12 +0300)
commitc1537664086f6a44dde2cda85d2ee023a7c76791
treef7c7f3e9a7cf148b0b20183ff79d06989dd61ec5
parent0616c62c1659200419a810601e96d3e5e9d559e6
iwlwifi: mvm: don't increase max_out_time when low priority scan is requested

In some cases, max_out_time value is smaller than 200 and having the
NL80211_SCAN_FLAG_LOW_PRIORITY flag was actually causing the
max_out_time to be increased.  To avoid that, set max_out_time to 200
only if it's greater than 200.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Alexander Bondar <alexander.bondar@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c
This page took 0.026422 seconds and 5 git commands to generate.