wifi: iwlmei: send HOST_GOES_DOWN message even if wiamt is disabled
authorAvraham Stern <avraham.stern@intel.com>
Tue, 22 Aug 2023 07:33:17 +0000 (10:33 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Aug 2023 11:19:53 +0000 (13:19 +0200)
commit3243aee1cb9206521c82a49fa5879934c69cee7c
treec6e6e633670d68d40baee3c933ffd120d29ea7f1
parentef030ab17e060b0ef47028e86cf85b68988b56ae
wifi: iwlmei: send HOST_GOES_DOWN message even if wiamt is disabled

The HOST_GOES_DOWN message should be sent even if wiamt is disabled.
Otherwise wiamt may still use the shared memory (e.g. if enabled
later) while it's no longer valid.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230822103048.2baad50eb1c3.If7b7c1dc2d6bfc6bacf7f6c72972f19714d9d973@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mei/main.c