Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171866
b: refs/heads/master
c: 2410378
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Nov 18, 2009
1 parent 0220b74 commit 15bb5d3
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c74ddfd5ea9c0c67d0aae77eeb5b610188cb8bc4
refs/heads/master: 2410378a4c8e978823354ab3e44cd07c3c18a237
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1251_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,10 @@ static int wl1251_build_ps_poll(struct wl1251 *wl, u16 aid)

memcpy(template.bssid, wl->bssid, ETH_ALEN);
memcpy(template.ta, wl->mac_addr, ETH_ALEN);
template.aid = aid;

/* aid in PS-Poll has its two MSBs each set to 1 */
template.aid = cpu_to_le16(1 << 15 | 1 << 14 | aid);

template.fc = cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_PSPOLL);

return wl1251_cmd_template_set(wl, CMD_PS_POLL, &template,
Expand Down

0 comments on commit 15bb5d3

Please sign in to comment.