summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJerryLee <jerrylee@broadcom.com>2015-06-17 19:18:01 -0700
committerVinit Deshpande <vinitd@google.com>2015-06-24 11:41:10 -0700
commit1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3 (patch)
tree23da60714b2373b78b552eddd19c0f657914a1c8 /include
parent7b9ec3c42ba09ac77b6137e26ad3cd519b50667b (diff)
downloadhardware_libhardware_legacy-1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3.zip
hardware_libhardware_legacy-1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3.tar.gz
hardware_libhardware_legacy-1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3.tar.bz2
Add a debuggability interface: stop logging
bug: 21730601 Change-Id: Ie92229023b76a5b4a8f5657543a0cd0cb8a19968 Signed-off-by: JerryLee <jerrylee@broadcom.com>
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/wifi_hal.h1
-rw-r--r--include/hardware_legacy/wifi_logger.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h
index e203b62..6a51db0 100644
--- a/include/hardware_legacy/wifi_hal.h
+++ b/include/hardware_legacy/wifi_hal.h
@@ -210,6 +210,7 @@ typedef struct {
wifi_firmware_memory_dump_handler handler);
wifi_error (* wifi_set_log_handler)(wifi_request_id id, wifi_interface_handle iface,
wifi_ring_buffer_data_handler handler);
+ wifi_error (* wifi_reset_log_handler)(wifi_request_id id, wifi_interface_handle iface);
wifi_error (* wifi_set_alert_handler)(wifi_request_id id, wifi_interface_handle iface,
wifi_alert_handler handler);
wifi_error (* wifi_get_firmware_version)(wifi_interface_handle iface, char *buffer,
diff --git a/include/hardware_legacy/wifi_logger.h b/include/hardware_legacy/wifi_logger.h
index 058feec..9823aa3 100644
--- a/include/hardware_legacy/wifi_logger.h
+++ b/include/hardware_legacy/wifi_logger.h
@@ -294,7 +294,7 @@ typedef struct {
wifi_error wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface,
wifi_ring_buffer_data_handler handler);
-/* api to reset the log handler */
+/* API to reset the log handler */
wifi_error wifi_reset_log_handler(wifi_request_id id, wifi_interface_handle iface);