commit 038b9bff4dcdaea7b9a0463a25e021cdebb01209
parent db2f14225dfef0cc13441863697671fd3862ffe5
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 3 Sep 2021 12:35:43 -0700
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;