wpa_supplicant automatically re-connect to previous AP in networks list

Blanquicet-Melendez Jose (MM) jose.blanquicet-melendez at magnetimarelli.com
Wed Dec 21 02:35:51 PST 2016

Hi Jouni,

> > On most of test we have done so far, at the end of the WPS operations there is
> only one network profile created. Although it's true that during the process one
> more network profile is created but it is automatically deleted by
> wpa_supplicant itself. So I just would have to remember that one, which is the
> same I will receive in Interface.PropertyChanged as "CurrentNetwork". Do you
> also agree here?
> No. While most use cases of WPS are probably provisioning a single
> credential, the WPS protocol itself has support for arbitrary number of
> credentials and as such, you may get multiple network profiles added
> from a single provisioning step. As such, the current network after
> successful connection is not necessarily the only network profile that
> was added. That's why I pointed at tracking the signals indicating when
> a new network profile is added during the WPS operation; there may be
> more than one of those signals.

Understood. I will try to follow your approach. Thanks for the support.


Jose Blanquicet
VISITA IL NOSTRO SITO WEB! - VISIT OUR WEB SITE! www.magnetimarelli.com Confidential Notice: This message - including its attachments - may contain proprietary, confidential and/or legally protected information and is intended solely for the use of the designated addressee(s) above. If you are not the intended recipient be aware that any downloading, copying, disclosure, distribution or use of the contents of the above information is strictly prohibited. If you have received this communication by mistake, please forward the message back to the sender at the email address above, delete the message from all mailboxes and any other electronic storage medium and destroy all copies. Disclaimer Notice: Internet communications cannot be guaranteed to be safe or error-free. Therefore we do not assure that this message is complete or accurate and we do not accept liability for any errors or omissions in the contents of this message.

More information about the Hostap mailing list