diff options
Diffstat (limited to 'bcmdhd/wifi_hal/common.cpp')
-rwxr-xr-x[-rw-r--r--] | bcmdhd/wifi_hal/common.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/common.cpp b/bcmdhd/wifi_hal/common.cpp index 3540d49..c164ba4 100644..100755 --- a/bcmdhd/wifi_hal/common.cpp +++ b/bcmdhd/wifi_hal/common.cpp @@ -37,6 +37,8 @@ #include "common.h" #include "cpp_bindings.h" +/* test mode flag for halutil only */ +bool halutil_mode = false; interface_info *getIfaceInfo(wifi_interface_handle handle) { return (interface_info *)handle; @@ -261,3 +263,11 @@ wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface) return WIFI_ERROR_INVALID_ARGS; } +void set_hautil_mode(bool util_mode) +{ + halutil_mode = util_mode; +} +bool get_halutil_mode() +{ + return halutil_mode; +} |