On Tue, Jan 08, 2019 at 04:05:35PM +0100, Arnout Vandecappelle wrote: > On 08/01/2019 12:04, Jouni Malinen wrote: > > wpa_supplicant_wps_cred() gets called with information parsed from M8, > > so this should be filled based on what the Registrar told us. > > Unfortunately, the registrar doesn't tell us anything. The M8 does NOT contain > the Multi-AP IE. That sounds like a bad protocol design to me.. > However, wpa_supplicant_wps_cred has access to the current_ssid which has the > multi_ap setting. I'd be a bit careful with wpa_s->current_ssid there.. It does not actually have to be set in some WPS use cases. Anyway, for the Multi-AP PBC case, I think this will in practice always be pointing to the network profile where the extra parameter from WPS_PBC would be present. Anyway, I would also be fine in adding a new flag in struct wpa_supplicant for tracking this type of pending state for WPS, if required. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap