Skip to content

Commit

Permalink
fix: no error on no error pls
Browse files Browse the repository at this point in the history
  • Loading branch information
codedwrench committed Nov 9, 2023
1 parent 6e9854f commit b0464c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/WifiInterfaceWindows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b0464c6

Please sign in to comment.