Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278973
b: refs/heads/master
c: ef18706
h: refs/heads/master
i:
  278971: ee688d3
v: v3
  • Loading branch information
Pontus Fuchs authored and Luciano Coelho committed Dec 15, 2011
1 parent bf8f3fa commit d0ed053
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 7f74484a460f6bb8656725babf2e977e47a3dab4
refs/heads/master: ef1870673dc3b66d8daec2b1fd1048992440e0e5
12 changes: 6 additions & 6 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1580,24 +1580,24 @@ static int wl1271_configure_suspend_sta(struct wl1271 *wl,

ret = wait_for_completion_timeout(
&compl, msecs_to_jiffies(WL1271_PS_COMPLETE_TIMEOUT));

mutex_lock(&wl->mutex);
if (ret <= 0) {
wl1271_warning("couldn't enter ps mode!");
ret = -EBUSY;
goto out;
goto out_cleanup;
}

/* take mutex again, and wakeup */
mutex_lock(&wl->mutex);

ret = wl1271_ps_elp_wakeup(wl);
if (ret < 0)
goto out_unlock;
goto out_cleanup;
}
out_sleep:
wl1271_ps_elp_sleep(wl);
out_cleanup:
wlvif->ps_compl = NULL;
out_unlock:
mutex_unlock(&wl->mutex);
out:
return ret;

}
Expand Down

0 comments on commit d0ed053

Please sign in to comment.