The logic of disconnect_timeout was changed in bluez 5.55.
So we should modify Tizen specific logic for that.
Change-Id: Ic54b39d08b7f403407ae7dfa9ca6c9207bb1c4c5
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
bdaddr = device_get_address(session->device);
if (adapter && bdaddr)
device = btd_adapter_find_device(adapter, bdaddr, BDADDR_BREDR);
- if (!device)
- error("device is NOT found");
+ if (device) {
+ DBG("device exists");
+ goto done;
+ }
+
+ error("device is NOT found");
}
#endif