From 1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3 Mon Sep 17 00:00:00 2001 From: JerryLee Date: Wed, 17 Jun 2015 19:18:01 -0700 Subject: [PATCH] Add a debuggability interface: stop logging bug: 21730601 Change-Id: Ie92229023b76a5b4a8f5657543a0cd0cb8a19968 Signed-off-by: JerryLee --- include/hardware_legacy/wifi_hal.h | 1 + include/hardware_legacy/wifi_logger.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);