From a614ccffb719d4f9e24d02f2e6cf70a3344440b5 Mon Sep 17 00:00:00 2001 From: Sam Blenny <68084116+samblenny@users.noreply.github.com> Date: Sat, 24 Jul 2021 02:51:32 +0000 Subject: [PATCH] Fix wlan_leave() to send correct verb wlan_leave() was mistakenly sending the verb for WLAN_JOIN. Signed-off-by: samblenny --- services/com/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/com/src/lib.rs b/services/com/src/lib.rs index 57b698f38..05ae89f4d 100644 --- a/services/com/src/lib.rs +++ b/services/com/src/lib.rs @@ -353,7 +353,7 @@ impl Com { pub fn wlan_leave(&mut self) -> Result { send_message( self.conn, - Message::new_scalar(Opcode::WlanJoin.to_usize().unwrap(), 0, 0, 0, 0), + Message::new_scalar(Opcode::WlanLeave.to_usize().unwrap(), 0, 0, 0, 0), ) }