diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-05-27 19:28:39 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-05-27 19:28:39 -0700 |
commit | 05e31d445f52da4746ff0cc0703d83814cea98d0 (patch) | |
tree | a0a9610d2a2f4d4ba98778ff437d19146a1264a4 /bcmdhd/wifi_hal/common.h | |
parent | 25a0fb843d8b6d9141ccb435f1f9ee9a29d3afc6 (diff) | |
download | hardware_broadcom_wlan-05e31d445f52da4746ff0cc0703d83814cea98d0.zip hardware_broadcom_wlan-05e31d445f52da4746ff0cc0703d83814cea98d0.tar.gz hardware_broadcom_wlan-05e31d445f52da4746ff0cc0703d83814cea98d0.tar.bz2 |
Issue start/stop HAL along with load/unload driver
This ensures that HAL is enabled when driver is loaded; and
HAL is torn down when driver is unloaded.
Change-Id: Ia7a3e0a485a37b137750040aaecde7cb92eb59e4
Diffstat (limited to 'bcmdhd/wifi_hal/common.h')
-rw-r--r-- | bcmdhd/wifi_hal/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/common.h b/bcmdhd/wifi_hal/common.h index c56a038..26bb9a6 100644 --- a/bcmdhd/wifi_hal/common.h +++ b/bcmdhd/wifi_hal/common.h @@ -145,6 +145,7 @@ typedef struct { struct nl_sock *cmd_sock; // command socket object struct nl_sock *event_sock; // event socket object int nl80211_family_id; // family id for 80211 driver + int cleanup_socks[2]; // sockets used to implement wifi_cleanup bool in_event_loop; // Indicates that event loop is active bool clean_up; // Indication to clean up the socket |