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)
commit6569e7d36773956298ec1d5f4e6a2487913d2752
treec31f67ea24b3e39afe57a96a90688667c43fe503
parentabcbef5977df1fb61026ba429964cd6b9a085699
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