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:
2db52b2
)
Make Adapter.CreateDevice to be cancelable.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Mon, 18 May 2009 14:52:18 +0000
(11:52 -0300)
committer
Johan Hedberg
<johan.hedberg@nokia.com>
Mon, 18 May 2009 15:03:34 +0000
(18:03 +0300)
Adapter.CreateDevice was unmarking temporary flag which makes
Adapter.CancelDeviceCreation to not remove the device when it disconnects.
src/adapter.c
patch
|
blob
|
history
diff --git
a/src/adapter.c
b/src/adapter.c
index
1c4bec5
..
25ec33a
100644
(file)
--- a/
src/adapter.c
+++ b/
src/adapter.c
@@
-1437,8
+1437,6
@@
static DBusMessage *create_device(DBusConnection *conn,
if (!device)
return NULL;
- device_set_temporary(device, FALSE);
-
device_browse(device, conn, msg, NULL, FALSE);
return NULL;