summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2017-04-17 20:33:22 -0700
committerAjay Panicker <apanicke@google.com>2017-04-27 00:04:25 +0000
commit6992397ce6fc3685b50a04eb9d01e32f1ca88205 (patch)
tree500a3517287349910e87d663050bca15d7c70b7e
parentd839667cd00b277b2631276ef745d883db58bb3c (diff)
downloadlibhardware-6992397ce6fc3685b50a04eb9d01e32f1ca88205.tar.gz
Limit btsnoop file size (1/8)
Limit btsnoop file size by rotating between snoop files. The rotation occurrs when a fixed number of packets have been logged and will start overwriting the older file. Bug: 35998031 Test: Enable snoop logs from developer options and let logs get large Merged-In: Ic43600b10435d34a0528e28bd523187a6c311f61 Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
-rw-r--r--include/hardware/bluetooth.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index 5d69ab38..b706e8ad 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -560,9 +560,6 @@ typedef struct {
/* opcode MUST be one of: LE_Receiver_Test, LE_Transmitter_Test, LE_Test_End */
int (*le_test_mode)(uint16_t opcode, uint8_t *buf, uint8_t len);
- /* enable or disable bluetooth HCI snoop log */
- int (*config_hci_snoop_log)(uint8_t enable);
-
/** Sets the OS call-out functions that bluedroid needs for alarms and wake locks.
* This should be called immediately after a successful |init|.
*/