shared/gatt-client: Use parent debug_callback if not set on clone
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 5 Jan 2023 21:52:15 +0000 (13:52 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:11:34 +0000 (15:41 +0530)
commitc26542e3a59588a27cf231a9af6202ad43beb006
tree1dca5a3bf56d3279990c4d6d9a5034bf09c74165
parent6f6603ea36a21119117c0fbf31de8fb93f383bbc
shared/gatt-client: Use parent debug_callback if not set on clone

If clone don't have a dedicated callback set use its parent so users of
bt_gatt_client_clone don't have to keep setting the same callback for
all clone instances.
src/shared/gatt-client.c