kernel_samsung_a53x/drivers/net/wireless/realtek/rtl8xxxu
Martin Kaistra dc16c6630e wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work
[ Upstream commit 1213acb478a7181cd73eeaf00db430f1e45b1361 ]

The workqueue might still be running, when the driver is stopped. To
avoid a use-after-free, call cancel_work_sync() in rtl8xxxu_stop().

Fixes: e542e66b7c2e ("rtl8xxxu: add bluetooth co-existence support for single antenna")
Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240111163628.320697-2-martin.kaistra@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:38 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu_8192c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu_8192e.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu_8723a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu_8723b.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8xxxu_core.c wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work 2024-11-19 08:44:38 +01:00
rtl8xxxu_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00