diff options
| author | Martin Kaistra <martin.kaistra@linutronix.de> | 2024-01-11 19:36:27 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2024-01-14 22:08:01 +0300 |
| commit | 1213acb478a7181cd73eeaf00db430f1e45b1361 (patch) | |
| tree | 2460f2abdc8939f1a0673c0a8d7e109f4042374d /include | |
| parent | 178cc55d5129556e290cc05e152138037930419f (diff) | |
| download | linux-1213acb478a7181cd73eeaf00db430f1e45b1361.tar.xz | |
wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
