diff options
author | Michaƫl Burtin <bukington@gmail.com> | 2012-01-15 22:43:31 +0100 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-06-11 12:12:23 +0100 |
commit | 48d9734d3b1baea572d8df0e8226b48ec72bd1c6 (patch) | |
tree | 8a85670b47736975c7ea55ff6e725748ff9f7476 | |
parent | e7b58b249036231b667665fcd6c86ed6f73b16dc (diff) | |
download | hardware_libhardware_legacy-48d9734d3b1baea572d8df0e8226b48ec72bd1c6.zip hardware_libhardware_legacy-48d9734d3b1baea572d8df0e8226b48ec72bd1c6.tar.gz hardware_libhardware_legacy-48d9734d3b1baea572d8df0e8226b48ec72bd1c6.tar.bz2 |
wifi: add a new "loading" state
Set wlan.driver.status to "loading" in wifi_load_driver to allow
external action being triggered by property change.
Change-Id: Ia4363de4c4e0e1a1c4759f5699fd5ea6e1bc3182
-rw-r--r-- | wifi/wifi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/wifi.c b/wifi/wifi.c index f9179df..90b7632 100644 --- a/wifi/wifi.c +++ b/wifi/wifi.c @@ -301,6 +301,8 @@ int wifi_load_driver() if (insmod(DRIVER_MODULE_PATH, module_arg2) < 0) { #else + property_set(DRIVER_PROP_NAME, "loading"); + #ifdef WIFI_EXT_MODULE_PATH if (insmod(EXT_MODULE_PATH, EXT_MODULE_ARG) < 0) return -1; |