OSDN Git Service

am e5a16307: am c32be36f: Merge "wifi: check if supplicant is running before starting it"
[android-x86/hardware-libhardware_legacy.git] / wifi / wifi.c
index b1ddad1..8783df2 100644 (file)
@@ -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;
     }