]> git.baikalelectronics.ru Git - kernel.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)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Nov 2020 18:45:32 +0000 (20:45 +0200)
commitbe091638151ea3a5e30de897ba5ca8247b3eb244
tree5974f5e7ce028acb416e428b8f1883a63fd660eb
parentadacd1434b26950db5191ba6d475e020796bfa9a
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: 66d017b54e2a ("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