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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2019 08:12:54 +0000 (10:12 +0200)
commitac2951114955cc36f21108e8cd3dfaf6c9026f62
treefafda687ecd8f6ec68a01bcfd13e8f0fae92fe76
parent6a81677a2e653af3dbe71f007d7fb86562fd0db8
iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support

commit f5a47fae6aa3eb06f100e701d2342ee56b857bee upstream.

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: eca1e56ceedd ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c