Skip to content

Commit

Permalink
libertas: make worker thread not freezable
Browse files Browse the repository at this point in the history
We want it to send the HOST_SLEEP_ACTIVATE command on the way down...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent 689442d commit f3db2bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <linux/moduleparam.h>
#include <linux/delay.h>
#include <linux/freezer.h>
#include <linux/etherdevice.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
Expand Down Expand Up @@ -653,8 +652,6 @@ static int lbs_thread(void *data)

init_waitqueue_entry(&wait, current);

set_freezable();

for (;;) {
int shouldsleep;

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f3db2bb

Please sign in to comment.