]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix locking in delayed GTK setting
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Jun 2019 07:44:50 +0000 (09:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:18 +0000 (18:34 +0200)
commit57a909ec96b8742bde5419ffc2ba9f1da39ae7fc
treec31f67ea24b3e39afe57a96a90688667c43fe503
parent6c17f3a75176e64592470126bfe84a3d218d5d3c
iwlwifi: fix locking in delayed GTK setting

This code clearly never could have worked, since it locks
while already locked. Add an unlocked __iwl_mvm_mac_set_key()
variant that doesn't do locking to fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c