]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Require PBC match with wps_pbc that specifies BSSID
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 28 Dec 2010 06:56:23 +0000 (08:56 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Dec 2010 06:56:23 +0000 (08:56 +0200)
commitcc5e390d28ec9ee1ca94fac94629d0529d07dd60
tree0b16d2fa0f411c106d614a9671f52cd97f07c6dc
parenta8401116e1b4fba42f149148f38420fd4e82300e
WPS: Require PBC match with wps_pbc that specifies BSSID

The WPS mode was already verified when the AP was configured for
WPA/WPA2, but this was not done with AP that was in open mode.
Fix this by allowing wpa_supplicant_ssid_bss_match() to be called
in non-WPA configuration, too. With this change, wps_pbc BSSID
command will wait until the specified target AP is in active PBC
mode before trying to connect to it.
wpa_supplicant/events.c