Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171869
b: refs/heads/master
c: 33d51fa
h: refs/heads/master
i:
  171867: ef04247
v: v3
  • Loading branch information
Vidhya Govindan authored and John W. Linville committed Nov 18, 2009
1 parent 7dd12fa commit f115499
Show file tree
Hide file tree
Showing 3 changed files with 11 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: 72b57344a2a1f98c6838c2268fdc5ed5fae54cd8
refs/heads/master: 33d51facad8360cb9c55fd696431e2a477f16cc1
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1251_acx.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ struct acx_beacon_filter_ie_table {
u8 pad[3];
} __attribute__ ((packed));

#define SYNCH_FAIL_DEFAULT_THRESHOLD 5 /* number of beacons */
#define NO_BEACON_DEFAULT_TIMEOUT (100) /* TU */
#define SYNCH_FAIL_DEFAULT_THRESHOLD 10 /* number of beacons */
#define NO_BEACON_DEFAULT_TIMEOUT (500) /* in microseconds */

struct acx_conn_monit_params {
struct acx_header header;
Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1251_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox)
ieee80211_beacon_loss(wl->vif);
}

if (vector & REGAINED_BSS_EVENT_ID) {
if (wl->psm_requested) {
ret = wl1251_ps_set_mode(wl, STATION_POWER_SAVE_MODE);
if (ret < 0)
return ret;
}
}

return 0;
}

Expand Down

0 comments on commit f115499

Please sign in to comment.