Re: [PATCH 2/5] hostapd: extend RESET_PN for BIGTK
Johannes Berg <[email protected]> Thu, 07 May 2020 07:49:37 +0200
| Newsgroups | gmane.linux.drivers.hostap |
|---|---|
| Message-ID | <[email protected]> |
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