Skip to content

Commit

Permalink
Removind Schedule Lammda function from ConnectivityManagerWifi implem…
Browse files Browse the repository at this point in the history
…entation (#33542)
  • Loading branch information
shripad621git authored and pull[bot] committed Aug 14, 2024
1 parent 8049dee commit f7d2699
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 @@ -780,7 +780,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 f7d2699

Please sign in to comment.