[PATCH RESEND v2] wifi: ath10k: Fix return value in ath10k_pci_init()

Kalle Valo kvalo at kernel.org
Thu Nov 17 04:57:08 PST 2022


Xiu Jianfeng <xiujianfeng at huawei.com> wrote:

> This driver is attempting to register to support two different buses.
> if either of these is successful then ath10k_pci_init() should return 0
> so that hardware attached to the successful bus can be probed and
> supported. only if both of these are unsuccessful should ath10k_pci_init()
> return an errno.
> 
> Fixes: 0b523ced9a3c ("ath10k: add basic skeleton to support ahb")
> Signed-off-by: Xiu Jianfeng <xiujianfeng at huawei.com>
> Reviewed-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

2af7749047d8 wifi: ath10k: Fix return value in ath10k_pci_init()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20221110061926.18163-1-xiujianfeng@huawei.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list