Skip to content

Commit

Permalink
set the connection flag in ipaddress event also
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Dec 19, 2024
1 parent a768f38 commit 74177e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NetworkManagerImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,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();
Expand Down

0 comments on commit 74177e8

Please sign in to comment.