Message ID | 20231201040020.161143-6-denkenz@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/7] handshake: Add cleanup function for handshake_state | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/src/wsc.c b/src/wsc.c index cb2e2c3e2ad0..b063313ac6dc 100644 --- a/src/wsc.c +++ b/src/wsc.c @@ -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);