Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290561
b: refs/heads/master
c: a454969
h: refs/heads/master
i:
  290559: fb5cd08
v: v3
  • Loading branch information
Ido Yariv authored and Luciano Coelho committed Feb 15, 2012
1 parent 589899c commit 4da3f68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: f3df1331f25f782e838a3ecb72cec86b539ac02f
refs/heads/master: a454969ede024a209e6a755d5f7a928ab81ed00c
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1406,8 +1406,6 @@ int wl1271_plt_stop(struct wl1271 *wl)
goto out;
}

wl1271_power_off(wl);

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

Expand All @@ -1417,6 +1415,11 @@ int wl1271_plt_stop(struct wl1271 *wl)
wl1271_flush_deferred_work(wl);
cancel_work_sync(&wl->netstack_work);
cancel_work_sync(&wl->recovery_work);

mutex_lock(&wl->mutex);
wl1271_power_off(wl);
mutex_unlock(&wl->mutex);

out:
return ret;
}
Expand Down

0 comments on commit 4da3f68

Please sign in to comment.