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.
This commit is contained in:
James Prestwood 2021-09-03 12:35:43 -07:00 committed by Denis Kenzior
parent db2f14225d
commit 038b9bff4d
1 changed files with 1 additions and 0 deletions

View File

@ -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;