wifi: iwlwifi: mvm: assign link STA ID lookups during restart
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 20 Mar 2024 21:26:24 +0000 (23:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:39:53 +0000 (15:39 +0100)
commit8598826012efd8b04b2121dcd6347b843b0c0d16
tree48ff6cb4bd2d4a9fc0285eb45bb0c4c1ed2e8df3
parenta0b9ecffc3cb4ad7eb02e57838fdbc1ba985d183
wifi: iwlwifi: mvm: assign link STA ID lookups during restart

When restarting the HW, mac80211 first adds the STA back with only one
link enabled. This means that iwl_mvm_alloc_sta_after_restart will not
see the other links and will not do the assignment.

As such, do the assignment when mac80211 is activating the link for the
station.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240320232419.4a3273e5c6be.I7cb6cf096ab135f4b489f2806b116563624aa5ee@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c