ath10k: destroy sdio workqueue while remove sdio module
authorWen Gong <wgong@codeaurora.org>
Thu, 27 Jun 2019 18:21:51 +0000 (21:21 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jun 2019 19:12:59 +0000 (22:12 +0300)
commit3ed39f8e747a7aafeec07bb244f2c3a1bdca5730
tree09e1914e9ea8c0f7ce741ea1eedc80ce8b448ab2
parentbd1a4ac556dfbcd57c6091cc06aaf68684393bae
ath10k: destroy sdio workqueue while remove sdio module

The workqueue need to flush and destory while remove sdio module,
otherwise it will have thread which is not destory after remove
sdio modules.

Tested with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/sdio.c