]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 14 Dec 2018 16:30:22 +0000 (18:30 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 17 Dec 2018 13:15:22 +0000 (15:15 +0200)
commitcd8ca2f468a29831806f4951fd541ebe5832794b
treeb78df7e275bfc49d7e4addc085fc06e59070bedb
parentb066c58e838bc1cbd7917f317d5f9ced42b6c3bc
iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares

Old firmware versions don't support this command. Sending it
to any firmware before -41.ucode will crash the firmware.

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

Fixes: fb98574c27fc ("iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE")
CC: <stable@vger.kernel.org> #4.19+
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
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