Skip to content

Commit 8b7275b

Browse files
core: services: wifi: Set wpa_path for UDP fallback
A successful UDP fallback was reported as an unavailable adapter. Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 01815e3 commit 8b7275b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/services/wifi/wifi_handlers/wpa_supplicant/WifiManager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ def is_socket(file_path: str) -> bool:
576576
logger.warning(f"Could not connect with wifi socket. {socket_connection_error}")
577577
logger.info("Connecting via internet wifi socket.")
578578
try:
579+
self.wpa_path = "127.0.0.1:6664"
579580
await self.connect(("127.0.0.1", 6664))
580581
except Exception as udp_connection_error:
581582
logger.error(f"Could not connect with internet socket: {udp_connection_error}.")

0 commit comments

Comments
 (0)