3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

ap: Fix setting the basic rate in Supported Rates IE

This commit is contained in:
Andrew Zaborowski 2020-09-11 21:50:57 +02:00 committed by Denis Kenzior
parent 1eb2735239
commit fbb0776716

View File

@ -381,10 +381,10 @@ static size_t ap_build_beacon_pr_head(struct ap_state *ap,
flag = 0x80; flag = 0x80;
*rates++ = r | flag; *rates++ = r | flag;
count++;
} }
ie_tlv_builder_set_length(&builder, rates - ie_tlv_builder_set_length(&builder, count);
ie_tlv_builder_get_data(&builder));
/* DSSS Parameter Set IE for DSSS, HR, ERP and HT PHY rates */ /* DSSS Parameter Set IE for DSSS, HR, ERP and HT PHY rates */
ie_tlv_builder_next(&builder, IE_TYPE_DSSS_PARAMETER_SET); ie_tlv_builder_next(&builder, IE_TYPE_DSSS_PARAMETER_SET);