mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Make sure reserved field in WMM IE is set to 0
This was previously left uninitialized for Beacon frames and could potentially have any value.
This commit is contained in:
parent
50b16da13f
commit
810f08bab4
@ -75,6 +75,8 @@ u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid)
|
||||
if (hapd->conf->wmm_uapsd)
|
||||
wmm->qos_info |= 0x80;
|
||||
|
||||
wmm->reserved = 0;
|
||||
|
||||
/* fill in a parameter set record for each AC */
|
||||
for (e = 0; e < 4; e++) {
|
||||
struct wmm_ac_parameter *ac = &wmm->ac[e];
|
||||
|
Loading…
Reference in New Issue
Block a user