Brian Norris <briannorris@xxxxxxxxxxxx> wrote: > When PCIe FLR support was added, much of the remove/release code for > PCIe was migrated to ->down_dev(), but ->down_dev() is never called for > device removal. Let's refactor the cleanup to be done in both cases. > > Also, drop the comments above mwifiex_cleanup_pcie(), because they were > clearly wrong, and it's better to have clear and obvious code than to > detail the code steps in comments anyway. > > Fixes: 4c5dae59d2e9 ("mwifiex: add PCIe function level reset support") > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx> 3 patches applied to wireless-drivers.git, thanks. 4e841d3eb929 mwifiex: pcie: don't leak DMA buffers when removing ba1c7e45ec22 mwifiex: set adapter->dev before starting to use mwifiex_dbg() 36908c4e5b10 mwifiex: uninit wakeup info when removing device -- https://patchwork.kernel.org/patch/9618297/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches