diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hif_usb.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c index f1b8af64569c..3d53d9899628 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c | |||
@@ -17,11 +17,9 @@ | |||
17 | #include "htc.h" | 17 | #include "htc.h" |
18 | 18 | ||
19 | /* identify firmware images */ | 19 | /* identify firmware images */ |
20 | #define FIRMWARE_AR7010 "ar7010.fw" | ||
21 | #define FIRMWARE_AR7010_1_1 "ar7010_1_1.fw" | 20 | #define FIRMWARE_AR7010_1_1 "ar7010_1_1.fw" |
22 | #define FIRMWARE_AR9271 "ar9271.fw" | 21 | #define FIRMWARE_AR9271 "ar9271.fw" |
23 | 22 | ||
24 | MODULE_FIRMWARE(FIRMWARE_AR7010); | ||
25 | MODULE_FIRMWARE(FIRMWARE_AR7010_1_1); | 23 | MODULE_FIRMWARE(FIRMWARE_AR7010_1_1); |
26 | MODULE_FIRMWARE(FIRMWARE_AR9271); | 24 | MODULE_FIRMWARE(FIRMWARE_AR9271); |
27 | 25 | ||
@@ -1026,10 +1024,7 @@ static int ath9k_hif_usb_probe(struct usb_interface *interface, | |||
1026 | /* Find out which firmware to load */ | 1024 | /* Find out which firmware to load */ |
1027 | 1025 | ||
1028 | if (IS_AR7010_DEVICE(id->driver_info)) | 1026 | if (IS_AR7010_DEVICE(id->driver_info)) |
1029 | if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x0202) | 1027 | hif_dev->fw_name = FIRMWARE_AR7010_1_1; |
1030 | hif_dev->fw_name = FIRMWARE_AR7010_1_1; | ||
1031 | else | ||
1032 | hif_dev->fw_name = FIRMWARE_AR7010; | ||
1033 | else | 1028 | else |
1034 | hif_dev->fw_name = FIRMWARE_AR9271; | 1029 | hif_dev->fw_name = FIRMWARE_AR9271; |
1035 | 1030 | ||