P2P NFC: Copy DH parameters to a separate group interface
The DH public and private key needs to be copied for the separate group interface if that is used for a P2P group. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
d4b4d7fe3c
commit
86e320819c
1 changed files with 5 additions and 0 deletions
|
@ -1370,6 +1370,11 @@ static void wpas_p2p_clone_config(struct wpa_supplicant *dst,
|
||||||
d->dtim_period = s->dtim_period;
|
d->dtim_period = s->dtim_period;
|
||||||
d->disassoc_low_ack = s->disassoc_low_ack;
|
d->disassoc_low_ack = s->disassoc_low_ack;
|
||||||
d->disable_scan_offload = s->disable_scan_offload;
|
d->disable_scan_offload = s->disable_scan_offload;
|
||||||
|
|
||||||
|
if (s->wps_nfc_dh_privkey && s->wps_nfc_dh_pubkey) {
|
||||||
|
d->wps_nfc_dh_privkey = wpabuf_dup(s->wps_nfc_dh_privkey);
|
||||||
|
d->wps_nfc_dh_pubkey = wpabuf_dup(s->wps_nfc_dh_pubkey);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue