mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Fix nol timer memory leak
DFS nol timer need cleanup when rmmod driver, otherwise there is memory leak. Change-Id: I4f4c91f7fb515133edd4cb852b3760819a390505 CRs-Fixed: 2173788
This commit is contained in:
parent
5fc318cedb
commit
aa1810a8fb
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ void dfs_nol_attach(struct wlan_dfs *dfs)
|
|||
|
||||
void dfs_nol_detach(struct wlan_dfs *dfs)
|
||||
{
|
||||
dfs_nol_timer_cleanup(dfs);
|
||||
qdf_flush_work(&dfs->dfs_nol_elem_free_work);
|
||||
qdf_destroy_work(NULL, &dfs->dfs_nol_elem_free_work);
|
||||
WLAN_DFSNOL_LOCK_DESTROY(dfs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue