update wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/sta_state_machine.cpp.

Signed-off-by: yinyongbin <yinyongbin@huawei.com>
This commit is contained in:
yinyongbin 2024-11-04 06:14:05 +00:00 committed by Gitee
parent 112f7bc1b6
commit b57371701e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3599,7 +3599,7 @@ void StaStateMachine::UpdateAcceptUnvalidatedState()
int networkId = linkedInfo.networkId;
if (WifiSettings::GetInstance().GetAcceptUnvalidated(networkId)) {
WIFI_LOGI("network is recover, change the value of AcceptUnvalidated to false");
WifiSettings::GetInstance().SetAcceptUnvalidated(networkId, false);
// WifiSettings::GetInstance().SetAcceptUnvalidated(networkId, false);
WifiSettings::GetInstance().SyncDeviceConfig();
}
}