Martin Kaistra <martin.kaistra@xxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 2 patches applied to wireless-next.git, thanks. 1213acb478a7 wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work ece90a862232 wifi: rtl8xxxu: enable channel switch support -- https://patchwork.kernel.org/project/linux-wireless/patch/20240111163628.320697-2-martin.kaistra@xxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches