Made some changes, +1 is a workarround
This commit is contained in:
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -331,7 +331,7 @@ std::string get_wifi_security_string(wifi_auth_mode_t authMode)
|
||||
switch (authMode)
|
||||
{
|
||||
case WIFI_AUTH_OPEN:
|
||||
return "nopass";
|
||||
return "";
|
||||
case WIFI_AUTH_WEP:
|
||||
return "WEP";
|
||||
case WIFI_AUTH_WPA_PSK:
|
||||
@@ -339,7 +339,7 @@ std::string get_wifi_security_string(wifi_auth_mode_t authMode)
|
||||
case WIFI_AUTH_WPA_WPA2_PSK:
|
||||
return "WPA";
|
||||
default:
|
||||
return "unknown";
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user