From b0464c6cea77b908738a78fd52b880957adab3e0 Mon Sep 17 00:00:00 2001 From: codedwrench Date: Thu, 9 Nov 2023 17:39:28 +0100 Subject: [PATCH] fix: no error on no error pls --- Sources/WifiInterfaceWindows.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/WifiInterfaceWindows.cpp b/Sources/WifiInterfaceWindows.cpp index 75b54cb..eee3de8 100644 --- a/Sources/WifiInterfaceWindows.cpp +++ b/Sources/WifiInterfaceWindows.cpp @@ -311,6 +311,9 @@ bool WifiInterface::Connect(const IWifiInterface::WifiInformation& aConnection) } switch (dwError) { + case ERROR_SUCCESS: + // Everything is good, no error + break; case ERROR_INVALID_PARAMETER: Logger::GetInstance().Log(std::string("The profile has invalid params: ") + lReasonString, Logger::Level::ERROR);