device: Don't attempt to connect LE if ATT is already connected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 24 Feb 2023 00:31:19 +0000 (16:31 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:21:48 +0000 (15:51 +0530)
commite0de1cbc05dca60fc32c820454151cdd910a6a92
treedf9dcb24c739cffa99d26746a430475dc0aeb621
parentbdcf0cd87d7455effb138839393eaec76b6b522f
device: Don't attempt to connect LE if ATT is already connected

This checks if an att instance already exists before attempting to
connect it once again.
src/device.c