#include "wifi-power.h"
#include "netsupplicant.h"
-#define EAPOL_STORAGEDIR "/opt/usr/data/network/"
+#define EAPOL_STORAGEDIR "/var/lib/connman/"
#define ETH_IFNAME "eth0"
#define CONNMAN_CONFIG_FIELD_EAP_METHOD "EAP"
#define CONNMAN_CONFIG_FIELD_PHASE1 "Phase1"
static Ethernet *ethernet_object = NULL;
-static gboolean g_eap_supported = FALSE;
+static gboolean g_eap_enabled = FALSE;
netconfig_eapol_s eapol;
Ethernet *get_ethernet_object(void)
/* TODO: Make below variable interface specific and set
connMan profile associated with this interface as EAP enabled.
*/
- g_eap_supported = enable;
+ g_eap_enabled = enable;
if (enable == false) {
int err = __netconfig_set_eapol_property(service, false);
DBG("handle_is_eap_supported");
gboolean value = FALSE;
- value = g_eap_supported;
+ value = g_eap_enabled;
ethernet_complete_is_eap_supported(object, invocation, value);
return TRUE;
return TRUE;
}
- if (g_eap_supported == FALSE) {
+ if (g_eap_enabled == FALSE) {
netconfig_error_dbus_method_return(invocation,
NETCONFIG_ERROR_INTERNAL,
"EapNotEnabled");