Skip to content

Commit

Permalink
xione reverse ssh error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Oct 22, 2024
1 parent 1783126 commit 95c8e51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NetworkManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace WPEFramework
_notification(this)
{
// Don't do any work in the constructor - all set up should be done in Initialize
m_primaryInterfaceCache = "wlan0";
m_primaryInterfaceCache = "eth0";
}

NetworkManager::~NetworkManager()
Expand Down
2 changes: 2 additions & 0 deletions NetworkManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ namespace WPEFramework
result["state"] = static_cast <int> (state);
_parent.Notify("onWiFiStateChange", result);
_parent.m_wifiStateCache = state;
if(WIFI_STATE_CONNECTED == state || WIFI_STATE_DISCONNECTED == state)
_parent.m_primaryInterfaceCache.reset();
}

void onWiFiSignalStrengthChange(const string ssid, const string signalLevel, const Exchange::INetworkManager::WiFiSignalQuality signalQuality) override
Expand Down

0 comments on commit 95c8e51

Please sign in to comment.