Loading
wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
stable inclusion from stable-v6.6.53 commit 0d07f12e1f066cf2d49ac09e7129e7f1c8ddf7f9 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAZ0GM Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0d07f12e1f066cf2d49ac09e7129e7f1c8ddf7f9 -------------------------------- [ Upstream commit d44162280899c3fc2c6700e21e491e71c3c96e3d ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>