Xinming Hu <huxm@xxxxxxxxxxx> wrote: > The last command used to shutdown firmware might be timeout, > and trigger firmware dump in asynchronous pcie/sdio work. > > The remove/shutdown handler will continue free core data > structure private/adapter, which might be dereferenced in > pcie/sdio work, finally crash the kernel. > > Sync and Cancel pcie/sdio work, could be a fix for above > cornel case. In this way, the last command timeout could > be handled properly. > > Signed-off-by: Xinming Hu <huxm@xxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. b713bbf1471b mwifiex: cancel pcie/sdio work in remove/shutdown handler -- https://patchwork.kernel.org/patch/10109773/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches