Skip to content

Commit

Permalink
SERXIONE-6805 Box reboots with reboot reason MAINTENANCE_REBOOT, when…
Browse files Browse the repository at this point in the history
… the box is in Active Standby
  • Loading branch information
cmuhammedrafi committed Dec 19, 2024
1 parent a68aac3 commit a768f38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NetworkManagerImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,12 @@ namespace WPEFramework
{
_notificationLock.Lock();
NMLOG_INFO("Posting onActiveInterfaceChange %s", currentActiveinterface.c_str());

if(currentActiveinterface == "eth0")
m_ethConnected = true;
else if (currentActiveinterface == "wlan0")
m_wlanConnected = true;

for (const auto callback : _notificationCallbacks) {
callback->onActiveInterfaceChange(prevActiveInterface, currentActiveinterface);
}
Expand Down

0 comments on commit a768f38

Please sign in to comment.