OSDN Git Service

iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 24 Sep 2019 10:30:57 +0000 (13:30 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Sep 2019 14:46:51 +0000 (17:46 +0300)
commitfddbfeece9c7882cc47754c7da460fe427e3e85b
tree9f690753fb76c13800cbc319343af533167277cb
parent9d4d0d06bbf9f7e576b0ebbb2f77672d0fc7f503
iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36

The intention was to have the GEO_TX_POWER_LIMIT command in FW version
36 as well, but not all 8000 family got this feature enabled.  The
8000 family is the only one using version 36, so skip this version
entirely.  If we try to send this command to the firmwares that do not
support it, we get a BAD_COMMAND response from the firmware.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=204151.

Cc: stable@vger.kernel.org # 4.19+
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c