Merge "wifi: check if supplicant is running before starting it"

This commit is contained in:
Dmitry Shmidt 2014-02-24 18:17:01 +00:00 committed by Gerrit Code Review
commit c32be36fd0

View file

@ -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;
}