summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh%android.com@gtempaccount.com>2014-02-24 18:23:18 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-24 18:23:18 +0000
commite5a16307ab7fdee029ea1fe0bfacd856f948b112 (patch)
tree98571393d302457a25e77ab1df5e5e49bfd88105 /wifi
parent3582b9b0e1caa4a43b8706e699903142e34ad5c0 (diff)
parentc32be36fd0981685cc9c33d32ae9babc466e6ae2 (diff)
downloadhardware_libhardware_legacy-e5a16307ab7fdee029ea1fe0bfacd856f948b112.zip
hardware_libhardware_legacy-e5a16307ab7fdee029ea1fe0bfacd856f948b112.tar.gz
hardware_libhardware_legacy-e5a16307ab7fdee029ea1fe0bfacd856f948b112.tar.bz2
am c32be36f: Merge "wifi: check if supplicant is running before starting it"
* commit 'c32be36fd0981685cc9c33d32ae9babc466e6ae2': 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;
}