diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2006-12-21 20:01:51 -0200 |
---|---|---|
committer | Andres Salomon <dilinger@debian.org> | 2006-12-24 04:29:58 -0500 |
commit | 4c246626e820a40c5b7dd3b3fcc13d59103aa5de (patch) | |
tree | 4e431396f35b3eb516b199a5a9f1c42d8cac1eee | |
parent | 867b22e508ebe58856184f1990943e94b2134730 (diff) | |
download | lwn-4c246626e820a40c5b7dd3b3fcc13d59103aa5de.tar.gz lwn-4c246626e820a40c5b7dd3b3fcc13d59103aa5de.zip |
libertas: destroy association worker in wlan_add_card EH path
Otherwise zombie tasks might end up lurking around.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
(cherry picked from c911ada952d9aaf29309a69edc29a063413fa956 commit)
-rw-r--r-- | drivers/net/wireless/libertas/wlan_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/wlan_main.c b/drivers/net/wireless/libertas/wlan_main.c index c3ecba9dd62e..bf7fa0396dd3 100644 --- a/drivers/net/wireless/libertas/wlan_main.c +++ b/drivers/net/wireless/libertas/wlan_main.c @@ -1094,6 +1094,7 @@ err_create_file: err_init_fw: libertas_sbi_unregister_dev(priv); err_registerdev: + destroy_workqueue(priv->assoc_thread); /* Stop the thread servicing the interrupts */ wake_up_interruptible(&priv->MainThread.waitQ); wlan_terminate_thread(&priv->MainThread); |