Commit 7941c59e authored by Jürg Billeter's avatar Jürg Billeter Committed by Luca Coelho

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: e1ba684f ("iwlwifi: 8000: fix MODULE_FIRMWARE input")
Signed-off-by: default avatarJürg Billeter <j@bitron.ch>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 92549cdc
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
#define IWL8000_FW_PRE "iwlwifi-8000C-" #define IWL8000_FW_PRE "iwlwifi-8000C-"
#define IWL8000_MODULE_FIRMWARE(api) \ #define IWL8000_MODULE_FIRMWARE(api) \
IWL8000_FW_PRE "-" __stringify(api) ".ucode" IWL8000_FW_PRE __stringify(api) ".ucode"
#define IWL8265_FW_PRE "iwlwifi-8265-" #define IWL8265_FW_PRE "iwlwifi-8265-"
#define IWL8265_MODULE_FIRMWARE(api) \ #define IWL8265_MODULE_FIRMWARE(api) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment