]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mvm: don't add default link in fw restart flow
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 10 Oct 2024 11:05:06 +0000 (14:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Oct 2024 15:53:35 +0000 (17:53 +0200)
commit734a377e1eacc5153bae0ccd4423365726876e93
treec6160abe684e867e1d1a99efa96df44ac6271463
parent07a6e3b78a65f4b2796a8d0d4adb1a15a81edead
wifi: iwlwifi: mvm: don't add default link in fw restart flow

When we add the vif (and its default link) in fw restart we may
override the link that already exists. We take care of this but if
link 0 is a valid MLO link, then we will re-create a default link on
mvmvif->link[0] and we'll loose the real link we had there.

In non-MLO, we need to re-create the default link upon the interface
creation, this is fine. In MLO, we'll just wait for change_vif_links()
to re-build the links.

Fixes: bf976c814c86 ("wifi: iwlwifi: mvm: implement link change ops")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241010140328.385bfea1b2e9.I4a127312285ccb529cc95cc4edf6fbe1e0a136ad@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c