]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a9a467383c7d1619aa2b68dd9ef4fb4e466db90
tree829f4df08b38308617b4c810e0156e476316494b
parent3969b50faa0e8bf6837fafda408a16d9432dc219
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