Skip to content

Commit 7941c59

Browse files
juergbilucacoelho
authored andcommitted
iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000
Mistakenly, the driver is trying to load the 8000C firmware with an incorrect name (i.e. with two hyphens where there should be only one) and that fails. Fix that by removing the hyphen from the format macro. Fixes: e1ba684 ("iwlwifi: 8000: fix MODULE_FIRMWARE input") Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
1 parent 92549cd commit 7941c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/intel/iwlwifi/iwl-8000.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
#define IWL8000_FW_PRE "iwlwifi-8000C-"
9393
#define IWL8000_MODULE_FIRMWARE(api) \
94-
IWL8000_FW_PRE "-" __stringify(api) ".ucode"
94+
IWL8000_FW_PRE __stringify(api) ".ucode"
9595

9696
#define IWL8265_FW_PRE "iwlwifi-8265-"
9797
#define IWL8265_MODULE_FIRMWARE(api) \

0 commit comments

Comments
 (0)