monitor: Stop spamming logs when GATT db cannot be loaded
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 2 Jun 2022 21:18:52 +0000 (14:18 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitebd542a2125a97187890f31a4fb57df57a5774d9
treedf02c0e74de47dbd055365f6327ccf74a64393e5
parentc34021943a47c59caff19a16ef7477eaf42fa057
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.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/att.c
monitor/packet.c
monitor/packet.h