mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 07:00:07 +00:00
code check
Signed-off-by: yiyajun <yiyajun@huawei.com>
This commit is contained in:
parent
ab0aac32c9
commit
5920f2133d
@ -370,11 +370,13 @@ ErrCode WifiServiceScheduler::AutoStartSemiStaService(int instId, std::string &s
|
||||
|
||||
void WifiServiceScheduler::BroadCastWifiStateChange(WifiState state, int instId)
|
||||
{
|
||||
#ifdef FEATURE_SELF_CURE_SUPPORT
|
||||
ISelfCureService *pSelfCureService = WifiServiceManager::GetInstance().GetSelfCureServiceInst(instId);
|
||||
if ((pSelfCureService != nullptr) && (pSelfCureService->CheckSelfCureWifiResult(SCE_EVENT_WIFI_STATE_CHANGED))) {
|
||||
WIFI_LOGW("DispatchWifiCloseRes, ignore to send duo to wifi self curing");
|
||||
return;
|
||||
}
|
||||
#endif // FEATURE_SELF_CURE_SUPPORT
|
||||
WifiEventCallbackMsg cbMsg;
|
||||
cbMsg.msgCode = WIFI_CBK_MSG_STATE_CHANGE;
|
||||
cbMsg.id = instId;
|
||||
|
Loading…
Reference in New Issue
Block a user