P2P: Do not accept any GO BSS entry if SSID is specified for join
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 30 Dec 2015 17:06:19 +0000 (19:06 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Dec 2015 17:06:19 +0000 (19:06 +0200)
commit438be60153dbfe3e3da9d53edb5e7b1b1dac7567
treec58caf1fca5f843763df1f8ca5dffdc7a01c6d6c
parent35510d530a16d4e3462703937bf918e5d5d26bff
P2P: Do not accept any GO BSS entry if SSID is specified for join

Accept only a BSS entry matching the SSID when trying to find the
operating channel of a GO during join operation for which the SSID was
already specified. Previously, it could have been possible to pick an
incorrect BSS entry if the new GO was not found in the latest scan and
there was an older cached scan entry for the same BSSID.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c