mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
wsc: Use handshake to pass vendor ies
Instead of passing them directly via netdev_connect
This commit is contained in:
parent
788c7ed010
commit
0bb181a368
@ -382,7 +382,9 @@ static int wsc_enrollee_connect(struct wsc_enrollee *wsce, struct scan_bss *bss,
|
||||
if (ies_num)
|
||||
memcpy(ie_iov + 1, ies, sizeof(struct iovec) * ies_num);
|
||||
|
||||
r = netdev_connect(wsce->netdev, bss, hs, ie_iov, 1 + ies_num,
|
||||
handshake_state_set_vendor_ies(hs, ie_iov, 1 + ies_num);
|
||||
|
||||
r = netdev_connect(wsce->netdev, bss, hs, NULL, 0,
|
||||
wsc_enrollee_netdev_event,
|
||||
wsc_enrollee_connect_cb, wsce);
|
||||
l_free(ie_iov[0].iov_base);
|
||||
|
Loading…
Reference in New Issue
Block a user