diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2024-07-03 06:43:17 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-07-04 13:49:17 +0200 |
commit | 187accaa328dc4de98064eef176841b8a4716f96 (patch) | |
tree | 9f5a1e477cbd2e415182e8f3635c4558b8d765dc /drivers/net/netdevsim/ipsec.c | |
parent | 4278d88fedcfde1b91a5cfa96acb0e06d7742e12 (diff) | |
download | linux-187accaa328dc4de98064eef176841b8a4716f96.tar.gz linux-187accaa328dc4de98064eef176841b8a4716f96.tar.bz2 linux-187accaa328dc4de98064eef176841b8a4716f96.zip |
wifi: iwlwifi: mvm: don't send an ROC command with max_delay = 0
The firmware can't handle that (it will crash with ASSERT 300A).
This happened because we looked at vif->bss_conf which is not
the right bss_conf to look at in case of an MLD connection.
Fix iwl_mvm_roc_duration_and_delay to iterate on the active links to
get the right value for the dtim_interval.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20240703064027.e12f8d84c8fd.I3dd9f720c678c06ec7a5bf7ca56e21cf0b614c8c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/netdevsim/ipsec.c')
0 files changed, 0 insertions, 0 deletions