device: Fix not removing temporary timer when connected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 18 Jul 2020 00:25:52 +0000 (17:25 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commit0e95db4df30662da02c231ac1eadd1189bb1ffb2
tree7c77654afd696884f77a2045322a688d7d426c8a
parent5cdbbf01b0ec4e2b110c1ad734af71d5a22c665b
device: Fix not removing temporary timer when connected

Devices with random addresses will not have its temporary flag (as they
cannot be persisted in storage) reset even in case they are connected
which could cause and unintended disconnection.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c