]> www.infradead.org Git - users/willy/xarray.git/commit
wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
authorDaniel Gabay <daniel.gabay@intel.com>
Sun, 25 Aug 2024 16:17:05 +0000 (19:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Aug 2024 15:38:45 +0000 (17:38 +0200)
commitd44162280899c3fc2c6700e21e491e71c3c96e3d
treeb203e439a310ad907fc603611ba576128b179040
parentf8a129c1e10256c785164ed5efa5d17d45fbd81b
wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation

The calculation should consider also the 6GHz IE's len, fix that.
In addition, in iwl_mvm_sched_scan_start() the scan_fits helper is
called only in case non_psc_incldued is true, but it should be called
regardless, fix that as well.

Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240825191257.7db825442fd2.I99f4d6587709de02072fd57957ec7472331c6b1d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c