]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Allow WPS APs for PIN enrollment even without Selected Registrar
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 23 Jan 2009 11:10:58 +0000 (13:10 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 23 Jan 2009 11:10:58 +0000 (13:10 +0200)
commita609915233c75f6dc8b942292fd8dcd79bb871bf
tree78f59fae2cc9c9d616df690a796ff07dfd135e1e
parent401e03963388211f1b71e5cc632e46b77903b8f4
Allow WPS APs for PIN enrollment even without Selected Registrar

Some WPS APs do not set Selected Registrar attribute to 1 properly when
using an external Registrar. Allow such an AP to be selected for PIN
registration after couple of scan runs that do not find APs marked with
Selected Registrar = 1. This allows wpa_supplicant to iterate through
all APs that advertise WPS support without delaying connection with
implementations that set Selected Registrar = 1 properly.
src/common/wpa_ctrl.h
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant/wps_supplicant.c
wpa_supplicant/wps_supplicant.h