diff options
author | 2017-12-28 20:06:45 +0100 | |
---|---|---|
committer | 2018-01-09 10:18:32 +0200 | |
commit | e6fe214e61971494d2e4fe1d3f99020f652d3ada (patch) | |
tree | d99ee1e0698cd0b8285fd1ca75868826db791063 | |
parent | ath10k: remove unused prototype (diff) | |
download | wireguard-linux-e6fe214e61971494d2e4fe1d3f99020f652d3ada.tar.xz wireguard-linux-e6fe214e61971494d2e4fe1d3f99020f652d3ada.zip |
ath10k: bugfix: add USB case in ath10k_core_probe_fw
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>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 51444d34a06c..fe9341c97f31 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -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) { |