projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4edf97
)
Set network associating to FALSE in pan_disconnect()
author
Martin Xu
<martin.xu@intel.com>
Wed, 28 Apr 2010 10:25:45 +0000
(18:25 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 6 May 2010 05:35:10 +0000
(07:35 +0200)
Otherwise, connman_network_set_connected() takes normal service
disconnect as connecting failure.
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index
fabc75f
..
4533d7a
100644
(file)
--- a/
plugins/bluetooth.c
+++ b/
plugins/bluetooth.c
@@
-237,6
+237,8
@@
static int pan_disconnect(struct connman_network *network)
connman_network_ref(network);
+ connman_network_set_associating(network, FALSE);
+
dbus_pending_call_set_notify(call, disconnect_reply, network, NULL);
dbus_message_unref(message);