From 448f64b45a0a9f1b7ecf0acedda1d238c6a13d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Burtin?= Date: Sun, 15 Jan 2012 22:43:31 +0100 Subject: 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 --- wifi/wifi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wifi/wifi.c b/wifi/wifi.c index 14adf38..6e70bd7 100644 --- a/wifi/wifi.c +++ b/wifi/wifi.c @@ -333,6 +333,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; -- cgit v1.1