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)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Nov 2020 18:45:32 +0000 (20:45 +0200)
commit1cf260e3a75b87726ec609ad1b6b88f515749786
tree5974f5e7ce028acb416e428b8f1883a63fd660eb
parentfb8d1b6e97980057b7ebed444b8950e57f268a67
iwlwifi: mvm: properly cancel a session protection for P2P

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
drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c