RE: [PATCH v2] wifi: rtlwifi: pci: fix error path in rtl_pci_probe()
From: Ping-Ke Shih
Date: Fri Jul 24 2026 - 05:14:02 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>