OSDN Git Service

core/device: Don't overwrite SDP record cache
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 26 Jun 2015 10:31:34 +0000 (13:31 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 26 Jun 2015 10:31:34 +0000 (13:31 +0300)
commit6ca8be71f52257f01c3a26e5219321ba522568c4
tree161a661c41fa4f7d9b01c8c130c933a38292c8fb
parenta5583ffc450aec1d988ccfcbe0690a7b37f17817
core/device: Don't overwrite SDP record cache

btd_device_get_record should not overwrite existing cache if record
cannot be found since the cache should alway be up to date as it is
reloaded from file if the cache is empty.
src/device.c