projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5088df0
)
ath10k: go to path err_unsupported when chip id is not supported
author
Yang Yingliang
<yangyingliang@huawei.com>
Mon, 31 May 2021 14:41:28 +0000
(17:41 +0300)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sat, 12 Jun 2021 10:34:31 +0000
(13:34 +0300)
When chip id is not supported, it go to path err_unsupported
to print the error message.
Fixes: f8914a14623a ("ath10k: restore QCA9880-AR1A (v1) detection")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20210522105822.1091848-2-yangyingliang@huawei.com
drivers/net/wireless/ath/ath10k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index e7fde635e0eef81ffe10b4366bd37f998cf6f9d7..463cf3f8f8a52d05926893de27e2c285b956ba88 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/pci.c
+++ b/
drivers/net/wireless/ath/ath10k/pci.c
@@
-3701,7
+3701,7
@@
static int ath10k_pci_probe(struct pci_dev *pdev,
goto err_unsupported;
if (!ath10k_pci_chip_is_supported(pdev->device, bus_params.chip_id))
- goto err_
free_irq
;
+ goto err_
unsupported
;
ret = ath10k_core_register(ar, &bus_params);
if (ret) {