Skip to content

Commit

Permalink
Removind Schedule Lammda function from ConnectivityManagerWifi implem…
Browse files Browse the repository at this point in the history
…entation (project-chip#33542)
  • Loading branch information
shripad621git committed Jun 5, 2024
1 parent 6aea023 commit 06c8556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/ConnectivityManagerImpl_WiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ void ConnectivityManagerImpl::ChangeWiFiStationState(WiFiStationState newState)
ChipLogProgress(DeviceLayer, "WiFi station state change: %s -> %s", WiFiStationStateToStr(mWiFiStationState),
WiFiStationStateToStr(newState));
mWiFiStationState = newState;
SystemLayer().ScheduleLambda([]() { NetworkCommissioning::ESPWiFiDriver::GetInstance().OnNetworkStatusChange(); });
NetworkCommissioning::ESPWiFiDriver::GetInstance().OnNetworkStatusChange();
}
}

Expand Down

0 comments on commit 06c8556

Please sign in to comment.