Home
last modified time | relevance | path

Searched refs:DRIVER_PROP_NAME (Results 1 – 1 of 1) sorted by relevance

/hardware/libhardware_legacy/wifi/
Dwifi.c109 static const char DRIVER_PROP_NAME[] = "wlan.driver.status"; variable
200 if (!property_get(DRIVER_PROP_NAME, driver_status, NULL) in is_wifi_driver_loaded()
213 property_set(DRIVER_PROP_NAME, "unloaded"); in is_wifi_driver_loaded()
223 property_set(DRIVER_PROP_NAME, "unloaded"); in is_wifi_driver_loaded()
245 property_set(DRIVER_PROP_NAME, "ok"); in wifi_load_driver()
252 if (property_get(DRIVER_PROP_NAME, driver_status, NULL)) { in wifi_load_driver()
255 else if (strcmp(DRIVER_PROP_NAME, "failed") == 0) { in wifi_load_driver()
262 property_set(DRIVER_PROP_NAME, "timeout"); in wifi_load_driver()
266 property_set(DRIVER_PROP_NAME, "ok"); in wifi_load_driver()
290 property_set(DRIVER_PROP_NAME, "unloaded"); in wifi_unload_driver()