Commit 9e88dd43 authored by Yang Yingliang's avatar Yang Yingliang Committed by Kalle Valo
Browse files

ath10k: go to path err_unsupported when chip id is not supported



When chip id is not supported, it go to path err_unsupported
to print the error message.

Fixes: f8914a14 ("ath10k: restore QCA9880-AR1A (v1) detection")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210522105822.1091848-2-yangyingliang@huawei.com
parent 5088df05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {