Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158801
b: refs/heads/master
c: 9f483dc
h: refs/heads/master
i:
  158799: 563bae2
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Jul 10, 2009
1 parent 93aa0b0 commit 767f1fc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 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: 052a625a859ceba68022862eeee70511f56483a5
refs/heads/master: 9f483dc3d1b0b1695c8177c1dea2e721954b10fb
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/acx.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id)
return ret;
}

int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 listen_interval)
int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 wake_up_event,
u8 listen_interval)
{
struct acx_wake_up_condition *wake_up;
int ret;
Expand All @@ -109,7 +110,7 @@ int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 listen_interval)
goto out;
}

wake_up->wake_up_event = WAKE_UP_EVENT_DTIM_BITMAP;
wake_up->wake_up_event = wake_up_event;
wake_up->listen_interval = listen_interval;

ret = wl12xx_cmd_configure(wl, ACX_WAKE_UP_CONDITIONS,
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/acx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,8 @@ int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod,
u8 mgt_rate, u8 mgt_mod);
int wl12xx_acx_station_id(struct wl12xx *wl);
int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id);
int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 listen_interval);
int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 wake_up_event,
u8 listen_interval);
int wl12xx_acx_sleep_auth(struct wl12xx *wl, u8 sleep_auth);
int wl12xx_acx_fw_version(struct wl12xx *wl, char *buf, size_t len);
int wl12xx_acx_tx_power(struct wl12xx *wl, int power);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ int wl12xx_cmd_ps_mode(struct wl12xx *wl, u8 ps_mode)
int ret = 0;

/* FIXME: this should be in ps.c */
ret = wl12xx_acx_wake_up_conditions(wl, wl->listen_int);
ret = wl12xx_acx_wake_up_conditions(wl, WAKE_UP_EVENT_DTIM_BITMAP,
wl->listen_int);
if (ret < 0) {
wl12xx_error("couldn't set wake up conditions");
goto out;
Expand Down

0 comments on commit 767f1fc

Please sign in to comment.