]> 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)
commitbfe9605ae9efd6a280ef5e48f2a00eef37d89d73
tree829f4df08b38308617b4c810e0156e476316494b
parent056982fc83056f04d82718d5b2d946d3eb7c3ad9
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