OSDN Git Service

change wifi.interface to wlan.interface
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 22 Jan 2011 16:29:38 +0000 (00:29 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 20 May 2011 02:34:47 +0000 (10:34 +0800)
We are not allowed to set wifi.interface in libhardware_legacy.

Change-Id: Iba9ad419d07b6c6eab9a57c9ce518c86b23cc409

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;