ath10k: bugfix: add USB case in ath10k_core_probe_fw
authorErik Stromdahl <erik.stromdahl@gmail.com>
Thu, 28 Dec 2017 19:06:45 +0000 (20:06 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 9 Jan 2018 08:18:32 +0000 (10:18 +0200)
It was accidentally left out from the switch statement and target info was not
queried.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[kvalo@codeaurora.org: add commit log]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c

index 51444d3..fe9341c 100644 (file)
@@ -2427,6 +2427,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar)
                break;
        case ATH10K_BUS_PCI:
        case ATH10K_BUS_AHB:
+       case ATH10K_BUS_USB:
                memset(&target_info, 0, sizeof(target_info));
                ret = ath10k_bmi_get_target_info(ar, &target_info);
                if (ret) {