]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: avoid clearing a just saved session protection id
authorShaul Triebitz <shaul.triebitz@intel.com>
Sat, 4 Dec 2021 11:10:47 +0000 (13:10 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Dec 2021 18:06:41 +0000 (20:06 +0200)
commit080360e439a20808b70a527c8263c76edcfdd77d
tree4a6488bea49773a366fe447ed7e6ac1418d81915
parent4ac81ce7fb54da36e2cf39739b0a7dec92efba15
iwlwifi: mvm: avoid clearing a just saved session protection id

When scheduling a session protection the id is saved but
then it may be cleared when calling iwl_mvm_te_clear_data
(if a previous session protection is currently active).
Fix it by saving the id after calling iwl_mvm_te_clear_data.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211204130722.b0743a588d14.I098fef6677d0dab3ef1b6183ed206a10bab01eb2@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c