mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
FILS: Fix extended capability bit setting for FILS in AP mode
FILS capability bit setting could have ended up setting boths biths 72 (correct) and 64 (incorrect; part of Max Number of MSDUs In A-MSDU). Fix this by adding the missing break to the switch statement. Fixed: f55acd909e37 ("FILS: Set FILS Capability bit in management frames from AP") Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9e834fc648
commit
703470bfa1
@ -225,6 +225,7 @@ static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx)
|
||||
*pos |= 0x40; /* Bit 70 - FTM responder */
|
||||
if (hapd->conf->ftm_initiator)
|
||||
*pos |= 0x80; /* Bit 71 - FTM initiator */
|
||||
break;
|
||||
case 9: /* Bits 72-79 */
|
||||
#ifdef CONFIG_FILS
|
||||
if ((hapd->conf->wpa & WPA_PROTO_RSN) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user