Skip to content

Commit

Permalink
Removind Schedule Lammda function from ConnectivityManagerWifi implem…
Browse files Browse the repository at this point in the history
…entation
  • Loading branch information
shripad621git committed May 22, 2024
1 parent 9b6bb5b commit 4ab36fb
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 4ab36fb

Please sign in to comment.