aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-12-30 17:04:43 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-30 17:04:43 (GMT)
commit35510d530a16d4e3462703937bf918e5d5d26bff (patch)
tree6383cf2ce90249a1aca09816a247ceea9c660bb4 /wpa_supplicant/p2p_supplicant.c
parent8b8d4f4eb4cd92c157611325b5156d0e5d22ae06 (diff)
downloadhostap-35510d530a16d4e3462703937bf918e5d5d26bff.zip
hostap-35510d530a16d4e3462703937bf918e5d5d26bff.tar.gz
hostap-35510d530a16d4e3462703937bf918e5d5d26bff.tar.bz2
P2P: Use join SSID in the skip-PD cases
It was already possible to limit join operation to accept only a specific SSID. However, this constraint was not used when starting a P2P Client interface as a WPS Enrollee without going through a Provision Discovery exchange. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.c')
-rw-r--r--wpa_supplicant/p2p_supplicant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 7b97651..a456d3e 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -4925,7 +4925,8 @@ static void wpas_p2p_scan_res_join(struct wpa_supplicant *wpa_s,
start:
/* Start join operation immediately */
- wpas_p2p_join_start(wpa_s, 0, NULL, 0);
+ wpas_p2p_join_start(wpa_s, 0, wpa_s->p2p_join_ssid,
+ wpa_s->p2p_join_ssid_len);
}