device: Fix not auto-connecting profile
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Aug 2022 22:19:13 +0000 (15:19 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit190c6be5ff61c21b52d1827d26c33f995e0582db
tree9b6dab2187eace861348272dcbdde06e53058283
parent216d60c0ba5e4e1de9f28e1c87ccf386e8887581
device: Fix not auto-connecting profile

If the profile is registered and marked to auto-connect it shall
automatically be connected whenever a device is already connected.

Fixes: https://github.com/bluez/bluez/issues/370
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c