P2P: Clone 6 GHz related parameters to new group interface config

Clone pmf and p2p_6ghz_disable configuration values when creating a new
P2P group interface. PMF is required in 6 GHz band operation.

Signed-off-by: Sreeramya Soratkal <ssramya@codeaurora.org>
This commit is contained in:
Sreeramya Soratkal 2021-08-23 11:31:19 +05:30 committed by Jouni Malinen
parent f184337605
commit 575a8e6ca3

View file

@ -2158,6 +2158,8 @@ do { \
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;
d->passive_scan = s->passive_scan; d->passive_scan = s->passive_scan;
d->pmf = s->pmf;
d->p2p_6ghz_disable = s->p2p_6ghz_disable;
if (s->wps_nfc_dh_privkey && s->wps_nfc_dh_pubkey && if (s->wps_nfc_dh_privkey && s->wps_nfc_dh_pubkey &&
!d->wps_nfc_pw_from_config) { !d->wps_nfc_pw_from_config) {