USB firmware will be named in the same way as SDIO files,
i.e, the bus type will be added to the firmware file name.

Signed-off-by: Erik Stromdahl <[email protected]>
---
 drivers/net/wireless/ath/ath10k/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/core.c 
b/drivers/net/wireless/ath/ath10k/core.c
index eea111d..46ce263 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1412,6 +1412,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, 
char *fw_name,
 {
        switch (ar->hif.bus) {
        case ATH10K_BUS_SDIO:
+       case ATH10K_BUS_USB:
                scnprintf(fw_name, fw_name_len, "%s-%s-%d.bin",
                          ATH10K_FW_FILE_BASE, ath10k_bus_str(ar->hif.bus),
                          fw_api);
-- 
2.7.4

Reply via email to