From 71dff194320cef57a7e23f27b9f86c5b963e2409 Mon Sep 17 00:00:00 2001 From: RAFI <103924677+cmuhammedrafi@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:55:17 +0530 Subject: [PATCH] DELIA-66587 [RDKE][Xione UK] Fail to do SSH from GDF devices/jump server -) change wlan0 interface to eth0 interface -) primary interface reset when wifi connect/disconnect case --- NetworkManager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NetworkManager.h b/NetworkManager.h index 1838c545..deeb34b0 100644 --- a/NetworkManager.h +++ b/NetworkManager.h @@ -195,6 +195,8 @@ namespace WPEFramework result["state"] = static_cast (state); _parent.Notify("onWiFiStateChange", result); _parent.m_wifiStateCache = state; + if(Exchange::INetworkManager::WiFiState::WIFI_STATE_CONNECTED == state || Exchange::INetworkManager::WiFiState::WIFI_STATE_DISCONNECTED == state) + _parent.m_primaryInterfaceCache.reset(); } void onWiFiSignalStrengthChange(const string ssid, const string signalLevel, const Exchange::INetworkManager::WiFiSignalQuality signalQuality) override