From cff55f34823b9c7b1a7cd4d559a79241d6e1cbfd Mon Sep 17 00:00:00 2001 From: Veerendranath Jakkam Date: Wed, 2 Nov 2022 15:55:19 +0530 Subject: [PATCH] P2P: Clone sae_pwe config to new group interface config Clone sae_pwe configuration value when creating a new P2P group interface. This is needed to avoid P2P connection failure at the P2P Client side due to SAE H2E being disabled in the 6 GHz band operation when a new group interface is created for the connection. Signed-off-by: Veerendranath Jakkam --- wpa_supplicant/p2p_supplicant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 307922b97..be6159852 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -2174,6 +2174,7 @@ do { \ d->passive_scan = s->passive_scan; d->pmf = s->pmf; d->p2p_6ghz_disable = s->p2p_6ghz_disable; + d->sae_pwe = s->sae_pwe; if (s->wps_nfc_dh_privkey && s->wps_nfc_dh_pubkey && !d->wps_nfc_pw_from_config) {