From 7bda9299182492b75b537e4d9e1e6941eb27bc7c Mon Sep 17 00:00:00 2001 From: Simon Chung Date: Thu, 19 Dec 2024 11:41:34 +0000 Subject: [PATCH 1/2] RDKECMF-223 Add CODEOWNERS file --- .github/CODEOWNERS | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..42b93c90 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +# @global-owner1 and @global-owner2 will be requested for +# review when someone opens a pull request. +* @rdkcentral/networkmanager-maintainers From 2b93fa7841c06505a1d50106ac95566916c706b6 Mon Sep 17 00:00:00 2001 From: RAFI <103924677+cmuhammedrafi@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:50:05 +0530 Subject: [PATCH 2/2] SERXIONE-6805 Box reboots with reboot reason MAINTENANCE_REBOOT, when the box is in Active Standby (#62) * SERXIONE-6805 Box reboots with reboot reason MAINTENANCE_REBOOT, when the box is in Active Standby * set the connection flag in ipaddress event also --- NetworkManagerImplementation.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/NetworkManagerImplementation.cpp b/NetworkManagerImplementation.cpp index f08fe09c..997eaf24 100644 --- a/NetworkManagerImplementation.cpp +++ b/NetworkManagerImplementation.cpp @@ -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); } @@ -611,6 +617,11 @@ namespace WPEFramework // Start the connectivity monitor with 'true' to indicate the interface is up. // The monitor will conntinoue even after no internet retry completed, Exit when fully connectd. connectivityMonitor.startConnectivityMonitor(); + // if ipaddress is aquired means there should be interface connected + if(interface == "eth0") + m_ethConnected = true; + else if (interface == "wlan0") + m_wlanConnected = true; } _notificationLock.Lock();