Skip to content
Commit 0bcc2155 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: mvm: init vif works only once



It's dangerous to re-initialize works repeatedly, especially
delayed ones that have an associated timer, and even more so
if they're not necessarily canceled inbetween. This can be
the case for these workers here during FW restart scenarios,
so make sure to initialize it only once.

While at it, also ensure it is cancelled correctly.

Fixes: f6780614 ("iwlwifi: mvm: disconnect in case of bad channel switch parameters")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240416134215.ddf8eece5eac.I4164f5c9c444b64a9abbaab14c23858713778e35@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6cf7df9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment