OSDN Git Service

nl80211: always accept scan request with the duration set
authorAvraham Stern <avraham.stern@intel.com>
Sun, 29 Nov 2020 15:30:50 +0000 (17:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:57:11 +0000 (12:57 +0100)
commitc837cbad40d949feaff86734d637c7602ae0b56b
treef947439b9b33af7f510af9cd9a333caf299ba002
parentb45a19dd7e46462d0f34fcc05e5b1871d4c415ec
nl80211: always accept scan request with the duration set

Accept a scan request with the duration set even if the driver
does not support setting the scan dwell. The duration can be used
as a hint to the driver, but the driver may use its internal logic
for setting the scan dwell.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201129172929.9491a12f9226.Ia9c5b24fcefc5ce5592537507243391633a27e5f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c