Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314908
b: refs/heads/master
c: 680c605
h: refs/heads/master
v: v3
  • Loading branch information
Eyal Shapira authored and Luciano Coelho committed Jun 26, 2012
1 parent c6d9449 commit 67c9c70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: 6c15c1aae206dc275a948a5e50f965c2382c6866
refs/heads/master: 680c6055b9bebdf07fc2d5ebe816a14c7daecdc1
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/ti/wlcore/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len,
return 0;

fail:
WARN_ON(1);
wl12xx_queue_recovery_work(wl);
return ret;
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ static void wl1271_fetch_nvs(struct wl1271 *wl)

void wl12xx_queue_recovery_work(struct wl1271 *wl)
{
WARN_ON(!test_bit(WL1271_FLAG_INTENDED_FW_RECOVERY, &wl->flags));

/* Avoid a recursive recovery */
if (!test_and_set_bit(WL1271_FLAG_RECOVERY_IN_PROGRESS, &wl->flags)) {
wlcore_disable_interrupts_nosync(wl);
Expand Down

0 comments on commit 67c9c70

Please sign in to comment.