Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278658
b: refs/heads/master
c: 6ec45dc
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Oct 7, 2011
1 parent 82a5ff8 commit 8e3d054
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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: 252efa4f978a2901039fffc934060fb8ccf82ac7
refs/heads/master: 6ec45dc282f6983d5685758c5e8993bc2c818d3c
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/wl12xx/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ static int wl1271_event_ps_report(struct wl1271 *wl,
/* enable beacon early termination */
ret = wl1271_acx_bet_enable(wl, wlvif, true);

if (wl->ps_compl) {
complete(wl->ps_compl);
wl->ps_compl = NULL;
if (wlvif->ps_compl) {
complete(wlvif->ps_compl);
wlvif->ps_compl = NULL;
}
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ static int wl1271_configure_suspend_sta(struct wl1271 *wl,
if (!test_bit(WL1271_FLAG_PSM, &wl->flags)) {
DECLARE_COMPLETION_ONSTACK(compl);

wl->ps_compl = &compl;
wlvif->ps_compl = &compl;
ret = wl1271_ps_set_mode(wl, wlvif, STATION_POWER_SAVE_MODE,
wlvif->basic_rate, true);
if (ret < 0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/wl12xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ struct wl1271 {
struct timer_list rx_streaming_timer;

struct completion *elp_compl;
struct completion *ps_compl;
struct delayed_work elp_work;

/* counter for ps-poll delivery failures */
Expand Down Expand Up @@ -651,6 +650,7 @@ struct wl12xx_vif {
/* Session counter for the chipset */
int session_counter;

struct completion *ps_compl;
struct delayed_work pspoll_work;
};

Expand Down

0 comments on commit 8e3d054

Please sign in to comment.