Skip to content

Commit 0adea73

Browse files
ajaykathatajaysk
authored andcommitted
wilc1000: FW file name changes inline with previous releases
Keep the FW file name inline with previous releases for backward compatibility with the earlier release. This patch can be removed later. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
1 parent 1ec6be3 commit 0adea73

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • drivers/net/wireless/microchip/wilc1000

drivers/net/wireless/microchip/wilc1000/netdev.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
/* latest API version supported */
1919
#define WILC1000_API_VER 1
2020

21-
#define WILC1000_FW_PREFIX "mchp/wilc1000_wifi_firmware-"
21+
#define WILC1000_FW_PREFIX "mchp/wilc1000_wifi_firmware"
2222
#define __WILC1000_FW(api) WILC1000_FW_PREFIX #api ".bin"
2323
#define WILC1000_FW(api) __WILC1000_FW(api)
2424

2525
#define WILC3000_API_VER 1
2626

27-
#define WILC3000_FW_PREFIX "mchp/wilc3000_wifi_firmware-"
27+
#define WILC3000_FW_PREFIX "mchp/wilc3000_wifi_firmware"
2828
#define __WILC3000_FW(api) WILC3000_FW_PREFIX #api ".bin"
2929
#define WILC3000_FW(api) __WILC3000_FW(api)
3030

@@ -390,10 +390,10 @@ static int wilc_wlan_get_firmware(struct net_device *dev)
390390

391391
if (wilc->chip == WILC_3000) {
392392
PRINT_INFO(dev, INIT_DBG, "Detect chip WILC3000\n");
393-
firmware = WILC3000_FW(WILC3000_API_VER);
393+
firmware = WILC3000_FW();
394394
} else if (wilc->chip == WILC_1000) {
395395
PRINT_INFO(dev, INIT_DBG, "Detect chip WILC1000\n");
396-
firmware = WILC1000_FW(WILC1000_API_VER);
396+
firmware = WILC1000_FW();
397397
} else {
398398
return -EINVAL;
399399
}

0 commit comments

Comments
 (0)