Fix byte order of VHT Basic MCS set for big endian hosts
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8bea63e095
commit
d56af7f8cb
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid)
|
||||||
|
|
||||||
/* VHT Basic MCS set comes from hw */
|
/* VHT Basic MCS set comes from hw */
|
||||||
/* Hard code 1 stream, MCS0-7 is a min Basic VHT MCS rates */
|
/* Hard code 1 stream, MCS0-7 is a min Basic VHT MCS rates */
|
||||||
oper->vht_basic_mcs_set = 0xfffc;
|
oper->vht_basic_mcs_set = host_to_le16(0xfffc);
|
||||||
pos += sizeof(*oper);
|
pos += sizeof(*oper);
|
||||||
|
|
||||||
return pos;
|
return pos;
|
||||||
|
|
Loading…
Add table
Reference in a new issue