From fbe69e82f835a1f41e5fe368046e0a5cdca99fe8 Mon Sep 17 00:00:00 2001 From: Niraj Kumar Goit Date: Thu, 17 Dec 2020 16:30:11 +0530 Subject: [PATCH] Moved dbus method IsEapSupported to connman. Dbus method IsEapSupported to check EAPoL enabled status is moved to connman and renamed as IsEapolEnabled. Change-Id: I77e5f76d89af722cadad8373d5bc8025379a54e4 Signed-off-by: Niraj Kumar Goit --- interfaces/netconfig-iface-ethernet.xml | 3 --- resources/etc/dbus-1/system.d/net-config.conf | 1 - src/ethernet.c | 15 --------------- 3 files changed, 19 deletions(-) diff --git a/interfaces/netconfig-iface-ethernet.xml b/interfaces/netconfig-iface-ethernet.xml index 11d4d45..9eba437 100755 --- a/interfaces/netconfig-iface-ethernet.xml +++ b/interfaces/netconfig-iface-ethernet.xml @@ -5,9 +5,6 @@ - - - diff --git a/resources/etc/dbus-1/system.d/net-config.conf b/resources/etc/dbus-1/system.d/net-config.conf index 04c3945..2c8fd42 100755 --- a/resources/etc/dbus-1/system.d/net-config.conf +++ b/resources/etc/dbus-1/system.d/net-config.conf @@ -117,7 +117,6 @@ - diff --git a/src/ethernet.c b/src/ethernet.c index d055ece..89da94c 100644 --- a/src/ethernet.c +++ b/src/ethernet.c @@ -278,19 +278,6 @@ gboolean handle_enable_eap(Ethernet *object, GDBusMethodInvocation *invocation, return TRUE; } -gboolean handle_is_eap_supported(Ethernet *object, GDBusMethodInvocation *invocation) -{ - g_return_val_if_fail(object != NULL, TRUE); - - DBG("handle_is_eap_supported"); - gboolean value = FALSE; - - value = g_eap_enabled; - - ethernet_complete_is_eap_supported(object, invocation, value); - return TRUE; -} - gboolean handle_set_eap_config(Ethernet *object, GDBusMethodInvocation *invocation, const gchar *service, GVariant *fields) { @@ -351,8 +338,6 @@ void ethernet_object_create_and_init(void) /* EAP over Ethernet Service */ g_signal_connect(ethernet_object, "handle-enable-eap", G_CALLBACK(handle_enable_eap), NULL); - g_signal_connect(ethernet_object, "handle-is-eap-supported", - G_CALLBACK(handle_is_eap_supported), NULL); g_signal_connect(ethernet_object, "handle-set-eap-config", G_CALLBACK(handle_set_eap_config), NULL); -- 2.7.4