summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh%android.com@gtempaccount.com>2014-02-24 18:17:01 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-24 18:17:02 +0000
commitc32be36fd0981685cc9c33d32ae9babc466e6ae2 (patch)
tree98571393d302457a25e77ab1df5e5e49bfd88105 /wifi
parent84b5cd7cded812398aaef8274ecacf0c3bd1907e (diff)
parenteed817e46ee7351f21673118eda9a5960a483120 (diff)
downloadhardware_libhardware_legacy-c32be36fd0981685cc9c33d32ae9babc466e6ae2.zip
hardware_libhardware_legacy-c32be36fd0981685cc9c33d32ae9babc466e6ae2.tar.gz
hardware_libhardware_legacy-c32be36fd0981685cc9c33d32ae9babc466e6ae2.tar.bz2
Merge "wifi: check if supplicant is running before starting it"
Diffstat (limited to 'wifi')
-rw-r--r--wifi/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi/wifi.c b/wifi/wifi.c
index 7e72ac7..f11c1ab 100644
--- a/wifi/wifi.c
+++ b/wifi/wifi.c
@@ -511,7 +511,7 @@ int wifi_start_supplicant(int p2p_supported)
}
/* Check whether already running */
- if (property_get(supplicant_name, supp_status, NULL)
+ if (property_get(supplicant_prop_name, supp_status, NULL)
&& strcmp(supp_status, "running") == 0) {
return 0;
}