Commit f3db2bb4 authored by David Woodhouse's avatar David Woodhouse Committed by David S. Miller

libertas: make worker thread not freezable

We want it to send the HOST_SLEEP_ACTIVATE command on the way down...
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 689442dc
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/freezer.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>
...@@ -653,8 +652,6 @@ static int lbs_thread(void *data) ...@@ -653,8 +652,6 @@ static int lbs_thread(void *data)
init_waitqueue_entry(&wait, current); init_waitqueue_entry(&wait, current);
set_freezable();
for (;;) { for (;;) {
int shouldsleep; int shouldsleep;
...@@ -698,7 +695,6 @@ static int lbs_thread(void *data) ...@@ -698,7 +695,6 @@ static int lbs_thread(void *data)
set_current_state(TASK_RUNNING); set_current_state(TASK_RUNNING);
remove_wait_queue(&priv->waitq, &wait); remove_wait_queue(&priv->waitq, &wait);
try_to_freeze();
lbs_deb_thread("main-thread 333: intcounter=%d currenttxskb=%p dnld_sent=%d\n", lbs_deb_thread("main-thread 333: intcounter=%d currenttxskb=%p dnld_sent=%d\n",
priv->intcounter, priv->currenttxskb, priv->dnld_sent); priv->intcounter, priv->currenttxskb, priv->dnld_sent);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment