iwlwifi: mvm: only enable HE DCM if we also support TX
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Sat, 29 Jan 2022 11:16:13 +0000 (13:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:51 +0000 (10:40 +0200)
commitb009cf71a982a5504d7d4bf0a08c20857bc910e6
tree6e4f67a0af4d1c931457f319ebdb646dd20282bf
parent34bc27783a31a05d2fb987d8fa0f4f702efd0359
iwlwifi: mvm: only enable HE DCM if we also support TX

Currently we enable DCM if the peer supports RX without checking whether
we advertised that we support TX.  Fix this by also checking that our TX
side is set.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220129105618.6865266c8a34.If1de7849f25337bb14ba2f27896e9715ae5975df@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c