wifi: iwlwifi: mvm: fix iwl_mvm_sta_rc_update for MLO
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Apr 2023 08:41:25 +0000 (11:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Apr 2023 12:47:55 +0000 (14:47 +0200)
commita705a78281cad4665e4092a09f8c485e81b47882
treead3fca72442a7a986ac81fcc8565a262373da39f
parent84f650e6323cfdb44aaa94adbab7480435427cf6
wifi: iwlwifi: mvm: fix iwl_mvm_sta_rc_update for MLO

When this is called it might crash due to the use of
deflink's phy context, update all links instead. It
really shouldn't be called right now though, but it's
better to have safer code until we update this to be
with a link parameter.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230417113648.fd47d0de8319.I87c5e5bcb2fadd70acc32021eed394fc1eea12a4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c