linux/drivers/net/wireless/intel
Johannes Berg 0bcc215598 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: f678061402 ("iwlwifi: mvm: disconnect in case of bad channel switch parameters")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240416134215.ddf8eece5eac.I4164f5c9c444b64a9abbaab14c23858713778e35@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-04-19 10:16:33 +02:00
..
ipw2x00 wifi: ipw2x00: replace deprecated strncpy with strscpy_pad 2023-10-23 20:26:29 +03:00
iwlegacy wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
iwlwifi wifi: iwlwifi: mvm: init vif works only once 2024-04-19 10:16:33 +02:00
Kconfig
Makefile