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

* commit 'c32be36fd0981685cc9c33d32ae9babc466e6ae2':
  wifi: check if supplicant is running before starting it
This commit is contained in:
Dmitry Shmidt 2014-02-24 18:23:18 +00:00 committed by Android Git Automerger
commit e5a16307ab

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