[PATCH 04/11] P2P2: Fix frequency selection for auto GO join
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Nov 26 01:10:13 PST 2024
When reusing an existing GO for pairing, force its frequency in GO
negotiation.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
wpa_supplicant/p2p_supplicant.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 99ee64f467..f87da3ef6a 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -6863,6 +6863,8 @@ int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
ssid = NULL;
continue;
}
+
+ force_freq = ifs->ap_iface->freq;
break;
}
p2p_set_go_role(wpa_s->global->p2p, true);
--
2.43.0
More information about the Hostap
mailing list