From: David Woodhouse Date: Wed, 12 Dec 2007 21:04:12 +0000 (-0500) Subject: libertas: make worker thread not freezable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3db2bb411512d1ebd6233b3985d98f4fe7ea8a8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git libertas: make worker thread not freezable We want it to send the HOST_SLEEP_ACTIVATE command on the way down... Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index f9bdd123ec45..dd432ea61947 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -6,7 +6,6 @@ #include #include -#include #include #include #include @@ -653,8 +652,6 @@ static int lbs_thread(void *data) init_waitqueue_entry(&wait, current); - set_freezable(); - for (;;) { int shouldsleep; @@ -698,7 +695,6 @@ static int lbs_thread(void *data) set_current_state(TASK_RUNNING); remove_wait_queue(&priv->waitq, &wait); - try_to_freeze(); lbs_deb_thread("main-thread 333: intcounter=%d currenttxskb=%p dnld_sent=%d\n", priv->intcounter, priv->currenttxskb, priv->dnld_sent);