OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c623a5
)
Cleanup temporary device entries from storage.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Mon, 20 Apr 2009 20:05:52 +0000
(17:05 -0300)
committer
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Wed, 22 Apr 2009 13:04:15 +0000
(10:04 -0300)
This make sure no entry is left on storage when removing a temporary and
make device_set_temporary usable for marking devices to be removed from
storage when disconnected.
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
f7eff04
..
abe8adf
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-762,7
+762,7
@@
void device_remove(struct btd_device *device, DBusConnection *conn,
if (device->bonding)
device_cancel_bonding(device, HCI_OE_USER_ENDED_CONNECTION);
- if (
!device->temporary &&
remove_stored)
+ if (remove_stored)
device_remove_stored(device, conn);
for (list = device->drivers; list; list = list->next) {