summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mei
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2022-11-02 16:59:57 +0200
committerGregory Greenman <gregory.greenman@intel.com>2022-11-10 13:27:07 +0200
commitc4bb943e0ad5829ec387e30bcb4b30cb15a572b9 (patch)
tree40b6a8a25b8a403d6169119becb0a78bd5134f88 /drivers/net/wireless/intel/iwlwifi/mei
parent6564f3b8621e380114732644be4c65064361eb6f (diff)
downloadlinux-c4bb943e0ad5829ec387e30bcb4b30cb15a572b9.tar.gz
linux-c4bb943e0ad5829ec387e30bcb4b30cb15a572b9.tar.bz2
linux-c4bb943e0ad5829ec387e30bcb4b30cb15a572b9.zip
wifi: iwlwifi: iwlmei: report disconnection as temporary
Disconnections are reported to CSME as long link down. As a result, CSME will take ownership right away so the host doesn't have a chance to reconnect, although in many cases it could quickly reconnect and preserve host connectivity. Report disconnections as temporary so CSME will give the host some grace time to reconnect. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20221102165239.401665457652.Ie5de9eacc5a51cf0965a08c202caf3fbc3a91ec4@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mei')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mei/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c b/drivers/net/wireless/intel/iwlwifi/mei/main.c
index ef5d2938deb5..9a49361cd059 100644
--- a/drivers/net/wireless/intel/iwlwifi/mei/main.c
+++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c
@@ -1535,7 +1535,7 @@ void iwl_mei_host_disassociated(void)
struct iwl_sap_notif_host_link_down msg = {
.hdr.type = cpu_to_le16(SAP_MSG_NOTIF_HOST_LINK_DOWN),
.hdr.len = cpu_to_le16(sizeof(msg) - sizeof(msg.hdr)),
- .type = HOST_LINK_DOWN_TYPE_LONG,
+ .type = HOST_LINK_DOWN_TYPE_TEMPORARY,
};
mutex_lock(&iwl_mei_mutex);