diff options
author | Devendra Naga | 2014-11-24 04:12:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-11-26 23:03:06 +0100 |
commit | 876e20d333c07b51b6452dbbd7f02c624b65e250 (patch) | |
tree | dc3bdf7d662251dd2611453d0dc459e8ccabdf94 /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | staging: wlan-ng: prism2fw: fixed code style issue (diff) | |
download | kernel-qcow2-linux-876e20d333c07b51b6452dbbd7f02c624b65e250.tar.gz kernel-qcow2-linux-876e20d333c07b51b6452dbbd7f02c624b65e250.tar.xz kernel-qcow2-linux-876e20d333c07b51b6452dbbd7f02c624b65e250.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index e970db474470..d992a754e72d 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -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); } /******************************************************** |