Skip to content

Commit

Permalink
Update NetworkManagerGdbusEvent.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi authored Dec 10, 2024
1 parent 936aba7 commit cfef8b6
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions gdbus/NetworkManagerGdbusEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,29 +38,6 @@ namespace WPEFramework

static NetworkManagerEvents *_NetworkManagerEvents = nullptr;

const char * nm_state_to_string(NMState state)
{
switch (state) {
case NM_STATE_ASLEEP:
return "asleep";
case NM_STATE_CONNECTING:
return "connecting";
case NM_STATE_CONNECTED_LOCAL:
return "connected (local only)";
case NM_STATE_CONNECTED_SITE:
return "connected (site only)";
case NM_STATE_CONNECTED_GLOBAL:
return "connected";
case NM_STATE_DISCONNECTING:
return "disconnecting";
case NM_STATE_DISCONNECTED:
return "disconnected";
case NM_STATE_UNKNOWN:
default:
return "unknown";
}
}

static std::string getInterafaceNameFormDevicePath(const char* DevicePath)
{
GDBusProxy *deviceProxy = NULL;
Expand Down

0 comments on commit cfef8b6

Please sign in to comment.