iwlwifi: fix firmware names for 9000 and A000 series hw
authorThomas Backlund <tmb@mageia.org>
Tue, 14 Nov 2017 10:37:51 +0000 (12:37 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 16 Nov 2017 08:40:15 +0000 (10:40 +0200)
commitc2c48ddfc8b03b9ecb51d2832b586497b37531bc
treea5e17f8e705b25cb927661942cf0ba39f6d3f731
parentdbc89253a7e15f8f031fb1eeb956de91204655e3
iwlwifi: fix firmware names for 9000 and A000 series hw

iwlwifi 9000 and a0000 series hw contains an extra dash in firmware
file name as seeen in modinfo output for kernel 4.14:

firmware:       iwlwifi-9260-th-b0-jf-b0--34.ucode
firmware:       iwlwifi-9260-th-a0-jf-a0--34.ucode
firmware:       iwlwifi-9000-pu-a0-jf-b0--34.ucode
firmware:       iwlwifi-9000-pu-a0-jf-a0--34.ucode
firmware:       iwlwifi-QuQnj-a0-hr-a0--34.ucode
firmware:       iwlwifi-QuQnj-a0-jf-b0--34.ucode
firmware:       iwlwifi-QuQnj-f0-hr-a0--34.ucode
firmware:       iwlwifi-Qu-a0-jf-b0--34.ucode
firmware:       iwlwifi-Qu-a0-hr-a0--34.ucode

Fix that by dropping the extra adding of '"-"'.

Signed-off-by: Thomas Backlund <tmb@mageia.org>
Cc: stable@vger.kernel.org # 4.13
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/cfg/a000.c