summaryrefslogtreecommitdiff
path: root/monitor/packet.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-02 14:18:52 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-13 10:20:33 -0700
commit25dd5613d549010952550df4f6bd435e2bd5d101 (patch)
tree8108972111a0cfe9e8c3a6d4c16d253bd2277a41 /monitor/packet.h
parent60f18a689474fa7d8a355d4318c22d9261ab29f3 (diff)
downloadbluez-25dd5613d549010952550df4f6bd435e2bd5d101.tar.gz
monitor: Stop spamming logs when GATT db cannot be loaded
This stops calling hci_devba everytime the GATT db needs to be loaded since that causes a raw socket to be open to read back the address pointed by the index, instead this is done only once at assign_handle and store in packet_conn_data.
Diffstat (limited to 'monitor/packet.h')
-rw-r--r--monitor/packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/packet.h b/monitor/packet.h
index 97d683e3a..3a6b9f7a1 100644
--- a/monitor/packet.h
+++ b/monitor/packet.h
@@ -25,6 +25,7 @@
struct packet_conn_data {
uint16_t index;
+ uint8_t src[6];
uint16_t handle;
uint8_t type;
uint8_t dst[6];