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:
commit
e5a16307ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue