OSDN Git Service

iwlwifi: mvm: take the required lock when clearing time event data
authorAvraham Stern <avraham.stern@intel.com>
Fri, 6 Mar 2020 13:16:21 +0000 (15:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Mar 2020 13:26:32 +0000 (15:26 +0200)
commit089e5016d7eb063712063670e6da7c1a4de1a5c1
tree15f362ae268d6ef74d3bcb1221e82a71be9388f3
parentb102f0c522cf668c8382c56a4f771b37d011cda2
iwlwifi: mvm: take the required lock when clearing time event data

When receiving a session protection end notification, the time event
data is cleared without holding the required lock. Fix it.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200306151128.a49846a634e4.Id1ada7c5a964f5e25f4d0eacc2c4b050015b46a2@changeid
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c