Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290563
b: refs/heads/master
c: f6fbecc
h: refs/heads/master
i:
  290561: 4da3f68
  290559: fb5cd08
v: v3
  • Loading branch information
Luciano Coelho committed Feb 15, 2012
1 parent 6720448 commit 951b680
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46b0cc9ffce356fbcb2135219a3ed8500714a9e4
refs/heads/master: f6fbeccd3e513c23de9cd8562f2b2e78d4d17912
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,17 +1420,18 @@ int wl1271_plt_stop(struct wl1271 *wl)
goto out;
}

wl->state = WL1271_STATE_OFF;
wl->rx_counter = 0;

mutex_unlock(&wl->mutex);

wl1271_flush_deferred_work(wl);
cancel_work_sync(&wl->netstack_work);
cancel_work_sync(&wl->recovery_work);
cancel_delayed_work_sync(&wl->elp_work);

mutex_lock(&wl->mutex);
wl1271_power_off(wl);
wl->flags = 0;
wl->state = WL1271_STATE_OFF;
wl->rx_counter = 0;
mutex_unlock(&wl->mutex);

out:
Expand Down

0 comments on commit 951b680

Please sign in to comment.