!1579 增加WiFi恢复update信息

Merge pull request !1579 from liyufan/master
This commit is contained in:
openharmony_ci 2023-12-16 03:51:02 +00:00 committed by Gitee
commit 29a1947a34
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -188,8 +188,7 @@ void WifiNetAgent::OnStaMachineNetManagerRestart(const sptr<NetManagerStandard::
this->RegisterNetSupplierCallback();
WifiLinkedInfo linkedInfo;
WifiSettings::GetInstance().GetLinkedInfo(linkedInfo, m_instId);
if ((linkedInfo.detailedState == DetailedState::NOTWORKING)
&& (linkedInfo.connState == ConnState::CONNECTED)) {
if (linkedInfo.connState == ConnState::CONNECTED) {
#ifndef OHOS_ARCH_LITE
if (supplierInfo != nullptr) {
TimeStats timeStats("Call UpdateNetSupplierInfo");