]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Notify about WPS PBC event in Enrollee mode
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 9 Mar 2017 09:59:48 +0000 (10:59 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 11 Mar 2017 08:56:58 +0000 (10:56 +0200)
commitacdf50219732ed85071c8ada89b096d2f3c230a0
treef12f2977008151e99697b4a0ff51040348b0ffca
parent15e5ee0b7559c9d7357a7c5b4f50f2f34b209ad1
WPS: Notify about WPS PBC event in Enrollee mode

Previously, the event "WPS-PBC-ACTIVE" was only generated when
wpa_supplicant is operating as WPS Registrar whereas "WPS-SUCCESS" or
"WPS-TIMEOUT" are generated for both, the Registrar and the Enrollee
roles.

Also generate the event when wpa_supplicant is operating as WPS Enrollee
to allow monitoring the begin and the end of a WPS PBC process.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
wpa_supplicant/wps_supplicant.c