Commit 7a38079e authored by Juuso Oikarinen's avatar Juuso Oikarinen Committed by John W. Linville
Browse files

wl1271: Set IEEE80211_FCTL_TODS in the null data template

Set the IEEE80211_FCTL_TODS bit in the FC of the null data template.
This is a mandatory requirement in specification.
Signed-off-by: default avatarJuuso Oikarinen <>
Cc: Vidhya Govindan <>
Cc: Janne Ylälehto <>
Reviewed-by: default avatarJanne Ylalehto <>
Signed-off-by: default avatarLuciano Coelho <>
Signed-off-by: default avatarJohn W. Linville <>
parent 53623f1a
......@@ -769,7 +769,8 @@ int wl1271_cmd_build_null_data(struct wl1271 *wl)
memcpy(, wl->mac_addr, ETH_ALEN);
template.header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_DATA |
return wl1271_cmd_template_set(wl, CMD_TEMPL_NULL_DATA, &template,
Markdown is supported
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