]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Clone sae_pwe config to new group interface config
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 2 Nov 2022 10:25:19 +0000 (15:55 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 5 Nov 2022 10:13:03 +0000 (12:13 +0200)
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 <quic_vjakkam@quicinc.com>
wpa_supplicant/p2p_supplicant.c

index 307922b97c7b25264e5ccd921579fd2b5a37fd11..be61598522da579108357273d24a3968c3992381 100644 (file)
@@ -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) {