diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 11:32:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:44 -0700 |
commit | fe3361507af44d00d5b42b91c1626321765a11bc (patch) | |
tree | db61afba5378e70a387465f4425e29f766e644ed /drivers/net/wireless/libertas/dev.h | |
parent | 2ca10e6d6a3052e7a8380b20588a7b1985ea1197 (diff) | |
download | kernel_samsung_tuna-fe3361507af44d00d5b42b91c1626321765a11bc.zip kernel_samsung_tuna-fe3361507af44d00d5b42b91c1626321765a11bc.tar.gz kernel_samsung_tuna-fe3361507af44d00d5b42b91c1626321765a11bc.tar.bz2 |
[PATCH] libertas: remove thread.h and make kthread usage clearer
Remove the thread.h abstractions and opencode kthread stuff
to make it clearer.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 184eee5..c6fb703 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h @@ -14,7 +14,6 @@ #include "defs.h" #include "scan.h" -#include "thread.h" extern struct ethtool_ops libertas_ethtool_ops; @@ -146,7 +145,8 @@ struct _wlan_private { struct device *hotplug_device; /** thread to service interrupts */ - struct wlan_thread mainthread; + struct task_struct *main_thread; + wait_queue_head_t waitq; struct delayed_work assoc_work; struct workqueue_struct *assoc_thread; |