Re: [PATCH 2/5] hostapd: extend RESET_PN for BIGTK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2020-05-06 at 15:42 +0200, Johannes Berg wrote:
> 
> @@ -2191,6 +2191,32 @@ static int hostapd_ctrl_reset_pn(struct hostapd_data *hapd, const char *cmd)
>  					   KEY_FLAG_GROUP_TX_DEFAULT);
>  	}
>  
> +	if (is_broadcast_ether_addr(addr) && os_strstr(cmd, "BIGTK")) {
> 
Ah, well, this won't work. I need to either put that *before* the "IGTK"
search (since that's a substring of "BIGTK"), or change that to " IGTK".

Perhaps I'll do both, i.e. search for " BIGTK" and put it before "IGTK",
just in case we have to add xBIGTK in the future ;-)

johannes


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux