Re: [PATCH v2] wifi: rtlwifi: pci: fix error path in rtl_pci_probe()
From: Ping-Ke Shih
Date: Wed Jul 29 2026 - 22:30:23 EST
Abdun Nihaal <nihaal@xxxxxxxxxxxxxx> wrote:
> In the last error path in rtl_pci_probe(), the cleanup functions are
> skipped due to a wrong goto label. Moreover, the successful call to
> rtl_init_rfkill(), ieee80211_register_hw(), rtl_debug_add_one() have to
> be reverted. Fix this issue by updating the labels and adding the
> relevant cleanup functions to the last error path.
>
> Fixes: 0c8173385e54 ("rtl8192ce: Add new driver")
> Signed-off-by: Abdun Nihaal <nihaal@xxxxxxxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
3c2999d13eeb wifi: rtlwifi: pci: fix error path in rtl_pci_probe()
---
https://github.com/pkshih/rtw.git