P2P: Do not accept any BSS entry for join if SSID is already known
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 30 Dec 2015 17:02:33 +0000 (19:02 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Dec 2015 17:02:33 +0000 (19:02 +0200)
commit8b8d4f4eb4cd92c157611325b5156d0e5d22ae06
treeb44adc58cd9a165fda18927880eea175ca7759d6
parentb875276c4d5806d3b566822b5726e101c4295fc0
P2P: Do not accept any BSS entry for join if SSID is already known

Use wpa_bss_get() with the specific Group SSID instead of
wpa_bss_get_bssid_latest() if the SSID is already known. This makes the
P2P join operations more robust in case the frequency of the group was
not yet known and the same P2P Interface Address may have been used in
multiple group instances with an older group entry still present in the
cached scan results.

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