Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restyle
Browse files Browse the repository at this point in the history
pankore committed Mar 15, 2023

Verified

This commit was signed with the committer’s verified signature.
abelsromero Abel Salgado Romero
1 parent 387675d commit dfa987a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/Ameba/AmebaUtils.cpp
Original file line number Diff line number Diff line change
@@ -117,8 +117,8 @@ CHIP_ERROR AmebaUtils::GetWiFiConfig(rtw_wifi_config_t * config)
CHIP_ERROR AmebaUtils::ClearWiFiConfig()
{
/* Clear Wi-Fi Configurations in Storage */
CHIP_ERROR err = CHIP_NO_ERROR;
err = PersistedStorage::KeyValueStoreMgr().Delete(kWiFiSSIDKeyName);
CHIP_ERROR err = CHIP_NO_ERROR;
err = PersistedStorage::KeyValueStoreMgr().Delete(kWiFiSSIDKeyName);
SuccessOrExit(err);

err = PersistedStorage::KeyValueStoreMgr().Delete(kWiFiCredentialsKeyName);

0 comments on commit dfa987a

Please sign in to comment.