[PATCH] wpa_supplicant: Fix global control interface for STA_FIRST /
Jouni Malinen
j at w1.fi
Sun Jan 29 15:59:55 PST 2017
On Tue, Jan 24, 2017 at 11:12:54PM +0000, dimitrysh at google.com wrote:
> Subject: [PATCH] wpa_supplicant: Fix global control interface for STA_FIRST
> /
> STA-NEXT
Thanks, applied with some fixes:
> diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
> @@ -10188,6 +10188,10 @@ static char *
> wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
> "P2P_CANCEL",
> "P2P_PRESENCE_REQ",
> "P2P_EXT_LISTEN",
> +#ifdef CONFIG_AP
> + "STA-FIRST",
> + "STA-LAST",
> +#endif
There is no STA-LAST, so I changed this to STA-NEXT and moved it to the
following array of prefixes to be able to match with the argument. In
addition, I added the STA command there since it should continue to have
similar behavior to the other STA* commands.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list