iwlwifi: mvm: send LQ command always ASYNC
authorGregory Greenman <gregory.greenman@intel.com>
Sun, 30 Jun 2019 06:18:15 +0000 (09:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:20 +0000 (18:34 +0200)
commitcd4d6b0bcd51580efda9ae54ab7b2d630b4147dc
tree829f4df08b38308617b4c810e0156e476316494b
parentb6cf28796756246f9e317eed6f63f1e2981e9817
iwlwifi: mvm: send LQ command always ASYNC

The only place where the command was sent as SYNC is during
init and this is not really critical. This change is required
for replacing RS mutex with a spinlock (in the subsequent patch),
since SYNC comamnd requres sleeping and thus the flow cannot
be done when holding a spinlock.

Signed-off-by: Gregory Greenman <gregory.greenman@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/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c