gsupplicant uses term "infra" instead of "managed" used by the old
wifi plugin. This forced connman to create a new service instead of using
the stored. For example, wifi_0026b6675606_76616c6f_managed_psk
vs wifi_0026b6675606_76616c6f_infra_psk.
Convert gsupplicant to use term "managed". That way old services work with
the new plugin.
case G_SUPPLICANT_MODE_UNKNOWN:
break;
case G_SUPPLICANT_MODE_INFRA:
- return "infra";
+ return "managed";
case G_SUPPLICANT_MODE_IBSS:
return "adhoc";
}
g_string_append_printf(str, "%02x", ssid[i]);
if (g_strcmp0(mode, "0") == 0)
- g_string_append_printf(str, "_infra");
+ g_string_append_printf(str, "_managed");
else if (g_strcmp0(mode, "1") == 0)
g_string_append_printf(str, "_adhoc");