aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index 1f4c238a3371..41f5ad49f480 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -580,7 +580,10 @@ static int wl1251_build_ps_poll(struct wl1251 *wl, u16 aid)
580 580
581 memcpy(template.bssid, wl->bssid, ETH_ALEN); 581 memcpy(template.bssid, wl->bssid, ETH_ALEN);
582 memcpy(template.ta, wl->mac_addr, ETH_ALEN); 582 memcpy(template.ta, wl->mac_addr, ETH_ALEN);
583 template.aid = aid; 583
584 /* aid in PS-Poll has its two MSBs each set to 1 */
585 template.aid = cpu_to_le16(1 << 15 | 1 << 14 | aid);
586
584 template.fc = cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_PSPOLL); 587 template.fc = cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_PSPOLL);
585 588
586 return wl1251_cmd_template_set(wl, CMD_PS_POLL, &template, 589 return wl1251_cmd_template_set(wl, CMD_PS_POLL, &template,