iwlwifi: Send DQA enable command only if TVL is on
authorIlia Lin <ilia.lin@intel.com>
Tue, 14 May 2019 14:19:06 +0000 (17:19 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:10 +0000 (15:31 +0300)
commit79660869bf750b3b52672cbae119e3a1e96a3165
tree3a465816b02992f5454cff9bdc31f6ec53d50a27
parent9cb63bf664fb6714f8ed8240d5d28f40879206f9
iwlwifi: Send DQA enable command only if TVL is on

The newer targets don't support the DQA enablement command
and will return error status, while older targets need it.
The feature is defined by the corresponding TLV.
Send the command only if the TLV is enabled.

Signed-off-by: Ilia Lin <ilia.lin@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c