mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
staging: rtl8192e: add missing tasklet_kill on remove path
The powersave tasklet is created in rtllib_softmac_init and it is not removed while unloading the module. Cc: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e3c2b451b4
commit
876e20d333
1 changed files with 1 additions and 0 deletions
|
@ -3168,6 +3168,7 @@ void rtllib_softmac_free(struct rtllib_device *ieee)
|
|||
cancel_delayed_work(&ieee->associate_retry_wq);
|
||||
destroy_workqueue(ieee->wq);
|
||||
up(&ieee->wx_sem);
|
||||
tasklet_kill(&ieee->ps_task);
|
||||
}
|
||||
|
||||
/********************************************************
|
||||
|
|
Loading…
Reference in a new issue