Skip to content

Commit

Permalink
[diagnosticdata] fix code for 8710cm (#25180)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankore authored and pull[bot] committed Aug 4, 2023
1 parent 10f4a86 commit 3643137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/Ameba/DiagnosticDataProviderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiSecurityType(app::Clusters::WiFiNe
wext_get_enc_ext("wlan0", &_security, &setting.key_idx, setting.password);
if (wext_get_auth_type("wlan0", &_auth_type) < 0)
{
securityType = 0;
securityType = SecurityTypeEnum::kUnspecified;
}
else
{
Expand All @@ -342,7 +342,7 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiSecurityType(app::Clusters::WiFiNe
securityType = SecurityTypeEnum::kWpa3;
break;
default:
securityType = SecurityTypeEnum::Unspecified;
securityType = SecurityTypeEnum::kUnspecified;
break;
}
}
Expand Down

0 comments on commit 3643137

Please sign in to comment.