From 038b9bff4dcdaea7b9a0463a25e021cdebb01209 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 3 Sep 2021 12:35:43 -0700 Subject: [PATCH] wsc: set ssid in handshake netdev now assumes the SSID was set in the handshake (normally via network_handshake_setup) but WSC calls netdev_connect directly so it also should set the SSID. --- src/wsc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wsc.c b/src/wsc.c index 4ab497d4..2618497a 100644 --- a/src/wsc.c +++ b/src/wsc.c @@ -356,6 +356,7 @@ static int wsc_enrollee_connect(struct wsc_enrollee *wsce, struct scan_bss *bss, handshake_state_set_event_func(hs, wsc_enrollee_handshake_event, wsce); handshake_state_set_8021x_config(hs, settings); + handshake_state_set_ssid(hs, bss->ssid, bss->ssid_len); wsce->eap_settings = settings; request.version2 = true;