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 13:45:08 -0700
commit15b70a56fbcf65ae609e07c5377afb36a67fc4b7 (patch)
tree1b160263872c986afd1cd73bfc607829d9a66b89
parentc334bf0f28a21b035f55dfdd72a50f7fab9bcd6b (diff)
downloadlibhardware-15b70a56fbcf65ae609e07c5377afb36a67fc4b7.tar.gz
Limit btsnoop file size (1/9)
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|.
*/