[BUG] wpa_supplicant in SAE mode kills AP on same PHY

Jouni Malinen j at w1.fi
Tue Feb 28 14:09:21 PST 2017


On Tue, Feb 28, 2017 at 03:09:40PM +0100, Charlemagne Lasse wrote:
> Following code in wpa_supplicant is killing the accesspoint:
> 
> if (iface->hostapd_ctrl) {
> char *cmd = "STOP_AP";
> char buf[256];
> int len = sizeof(buf);
> 
> wpa_s->hostapd = wpa_ctrl_open(iface->hostapd_ctrl);
> if (!wpa_s->hostapd) {
> wpa_printf(MSG_ERROR, "\nFailed to connect to hostapd\n");
> return -1;
> }
> if (hostapd_stop(wpa_s) < 0)
> return -1;
> }

There is no such code in the upstream hostap.git repository, i.e., the
topic of this mailing list.. In other words, this is a custom
modification of wpa_supplicant and any discussion related to that should
likely be somewhere else (i.e., wherever that code is maintained).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list