OSDN Git Service

change wifi.interface to wlan.interface
[android-x86/external-wpa_supplicant_6.git] / wpa_supplicant / wpa_cli.c
index c57d20d..575f9b6 100644 (file)
@@ -1859,7 +1859,7 @@ static char * wpa_cli_get_default_ifname(void)
        if (!dir) {
 #ifdef ANDROID
                char ifprop[PROPERTY_VALUE_MAX];
-               if (property_get("wifi.interface", ifprop, NULL) != 0) {
+               if (property_get("wlan.interface", ifprop, NULL) != 0) {
                        ifname = os_strdup(ifprop);
                        printf("Using interface '%s'\n", ifname);
                        return ifname;