]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mvm: properly cancel a session protection for P2P
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 7 Nov 2020 08:50:08 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Dec 2020 07:51:52 +0000 (08:51 +0100)
commit1c82d368928e9c2fb639d20b50a040c341b5600f
treef6103194c1d729c681c6060286f705c64c977681
parentc04cb3a60d11a520680156c0ea31a1e8cbe874d0
iwlwifi: mvm: properly cancel a session protection for P2P

[ Upstream commit 1cf260e3a75b87726ec609ad1b6b88f515749786 ]

We need to feed the configuration id to remove  session protection
properly.
Remember the conf_id when we add the session protection so that we
can give it back when we want to remove the session protection.
While at it, slightly improve the kernel doc for the conf_id
of the notification.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: fe959c7b2049 ("iwlwifi: mvm: use the new session protection command")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201107104557.3642f730333d.I01a98ecde62096d00d171cf34ad775bf80cb0277@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c