GATT code should always use bt_get_id_addr() when directly dealing with remote address. This is to make sure that proper address and type is used.
fb865d8 android/bluetooth: Remove address type from BT callbacks
android/bluetooth.c | 22 +++++++++----------
android/bluetooth.h | 11 +++++-----
android/gatt.c | 61 ++++++++-------------------------------------------
android/hidhost.c | 2 +-
4 files changed, 25 insertions(+), 71 deletions(-)
Upstream: git.kernel.org