From a632f0420bf28cc9a208fe1a25c08f691d9b7875 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sat, 1 Jun 2024 12:06:48 +0000 Subject: [PATCH] Bugfix: Wrong command response --- src/wifi/comm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/comm.rs b/src/wifi/comm.rs index de7e51b..893d58b 100644 --- a/src/wifi/comm.rs +++ b/src/wifi/comm.rs @@ -334,7 +334,7 @@ where self.networks.state_changed.notify(); }); - let writer = encoder.with_command(ResponseCommands::NetworkConfigResponse as _)?; + let writer = encoder.with_command(ResponseCommands::ConnectNetworkResponse as _)?; // As per spec, return success even though though whether we'll be able to connect to the network // will become apparent later, once we switch to Wifi