Commit 06cc5d3b authored by Vidhya Govindan's avatar Vidhya Govindan Committed by John W. Linville
Browse files

wl1251: Send null data packet with "TODS" bit set

According to IEEE80211 standard all the data packets have to be sent with
TODS bit set. This patch fixes the null data packet format which was sent
without TODS bit set. This should fix many problems associated with
power save. Janne Ylalehto also found this fix in the same time as mine,
for a different bug he was working on.

Signed-off-by: default avatarVidhya Govindan <>
Reviewed-by: default avatarJanne Ylalehto <>
Signed-off-by: default avatarKalle Valo <>
Signed-off-by: default avatarJohn W. Linville <>
parent 79553f82
......@@ -576,7 +576,8 @@ static int wl1251_build_null_data(struct wl1251 *wl)
memcpy(, wl->mac_addr, ETH_ALEN);
template.header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_DATA |
return wl1251_cmd_template_set(wl, CMD_NULL_DATA, &template,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment