if (test_get_user_selected_profile(&profile, true) == false)
return -1;
+ bool enabled = false;
+ if (connection_profile_is_ethernet_eap_enabled(profile, &enabled) != CONNECTION_ERROR_NONE) {
+ printf("Failed to get ethernet eap enabled status!!\n");
+ }
+ printf("EAP over Ethernet is %s\n", enabled ? "enabled" : "not enabled");
+
if (connection_profile_get_name(profile, &profile_name) != CONNECTION_ERROR_NONE) {
printf("Fail to get profile name\n");
return -1;