mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Replace RTW_PUT_LE16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6ba33b6e48
commit
26930b0f9f
1 changed files with 2 additions and 2 deletions
|
@ -206,8 +206,8 @@ inline u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl,
|
||||||
|
|
||||||
ie_data[0] = ttl;
|
ie_data[0] = ttl;
|
||||||
ie_data[1] = flags;
|
ie_data[1] = flags;
|
||||||
RTW_PUT_LE16((u8 *)&ie_data[2], reason);
|
*(u16 *)(ie_data+2) = cpu_to_le16(reason);
|
||||||
RTW_PUT_LE16((u8 *)&ie_data[4], precedence);
|
*(u16 *)(ie_data+4) = cpu_to_le16(precedence);
|
||||||
|
|
||||||
return rtw_set_ie(buf, 0x118, 6, ie_data, buf_len);
|
return rtw_set_ie(buf, 0x118, 6, ie_data, buf_len);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue