mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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 New Issue