]> git.hungrycats.org Git - linux/commitdiff
iwlwifi: fix firmware filename for 3160
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Sep 2015 08:47:27 +0000 (10:47 +0200)
committerJiri Slaby <jslaby@suse.cz>
Mon, 9 Nov 2015 11:02:13 +0000 (12:02 +0100)
commit b5a48134f8af08f5243328f8a0b05fc5ae7cf343 upstream.

The MODULE_FIRMWARE() for 3160 should be using the 7260 version as
it's done in the device configuration struct instead of referencing
IWL3160_UCODE_API_OK which doesn't even exist.

Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/iwl-7000.c

index 200f0d98471acefe21c896136841fc900f06b568..2a64a84d7488aabbbc6e4d78335e28d6da22ddd8 100644 (file)
@@ -190,4 +190,4 @@ const struct iwl_cfg iwl3160_n_cfg = {
 };
 
 MODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));
-MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL3160_UCODE_API_OK));
+MODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL7260_UCODE_API_OK));