summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh%android.com@gtempaccount.com>2014-02-24 18:31:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-24 18:31:07 +0000
commit19f21e355361e923e396bebe2f42e0d13de2acd0 (patch)
treec6d6a69cbf8be4f2bd4fc25d21d11126e37b3d31 /wifi
parenta1e9d83af5b9adca8be9e5dfced18385223f0241 (diff)
parente5a16307ab7fdee029ea1fe0bfacd856f948b112 (diff)
downloadhardware_libhardware_legacy-19f21e355361e923e396bebe2f42e0d13de2acd0.zip
hardware_libhardware_legacy-19f21e355361e923e396bebe2f42e0d13de2acd0.tar.gz
hardware_libhardware_legacy-19f21e355361e923e396bebe2f42e0d13de2acd0.tar.bz2
am e5a16307: am c32be36f: Merge "wifi: check if supplicant is running before starting it"
* commit 'e5a16307ab7fdee029ea1fe0bfacd856f948b112': 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 b1ddad1..8783df2 100644
--- a/wifi/wifi.c
+++ b/wifi/wifi.c
@@ -426,7 +426,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;
}