]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 19 Jul 2019 09:21:59 +0000 (12:21 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:30 +0000 (18:34 +0200)
commit83bcda561d38e17c6169e0020aec40ef6ff9b31a
tree599f7ff41b7ca54a1169a83942cd9c571cf19ea7
parent67a80e8ce6fba444ba5dc7d0efbd0793b9804306
iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support

We erroneously added a check for FW API version 41 before sending
GEO_TX_POWER_LIMIT, but this was already implemented in version 38.
Additionally, it was cherry-picked to older versions, namely 17, 26
and 29, so check for those as well.

Cc: stable@vger.kernel.org
Fixes: f925ee0b1366 ("iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c