gap: Don't attempt to read the appearance if already set
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 4 Apr 2022 20:15:18 +0000 (13:15 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitff3eea970bb1155f7d987a3427b85f4abb1f8e56
tree8aefafe57865c84182730f8e87e687a48e4e32ae
parent72e6f16ec7cec4a8579573197984042b911cedfb
gap: Don't attempt to read the appearance if already set

Devices are unlikely to change appearance over time which is the reason
why we cache then on the storage so this skips reading it on every
reconnection.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/gap/gas.c