iwlwifi: mvm: Explicitly stop session protection before unbinding
authorIlan Peer <ilan.peer@intel.com>
Fri, 18 Jun 2021 08:01:12 +0000 (11:01 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 22 Jun 2021 13:57:55 +0000 (16:57 +0300)
commit7b3954a1d69a992a781e71036950f9254f8147f6
tree12a2cb1677de7cd4d90f4a6e7f06f43d2e64188f
parent54b4fda5a761f97b8918607dbb4cd3b9e711aab6
iwlwifi: mvm: Explicitly stop session protection before unbinding

In case of unbinding, the FW would remove the session protection time
events without sending a notification, so explicitly cancel the
session protection, so future requests for mgd_prepare_tx() would not
assume that the session protection is running.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618105614.7c30f85ed241.Ibc19fdbefca7135f2c4ea83d0aef6b81b5033dcd@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c