summaryrefslogtreecommitdiff
path: root/plugins/bluetooth_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bluetooth_legacy.c')
-rwxr-xr-x[-rw-r--r--]plugins/bluetooth_legacy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/bluetooth_legacy.c b/plugins/bluetooth_legacy.c
index 5a9a3955..16d717ed 100644..100755
--- a/plugins/bluetooth_legacy.c
+++ b/plugins/bluetooth_legacy.c
@@ -256,6 +256,13 @@ static int pan_disconnect(struct connman_network *network)
if (!path)
return -EINVAL;
+#if defined TIZEN_EXT
+ if (connman_network_get_associating(network) == TRUE) {
+ connman_network_set_error(network,
+ CONNMAN_NETWORK_ERROR_ASSOCIATE_FAIL);
+ }
+#endif
+
message = dbus_message_new_method_call(BLUEZ_SERVICE, path,
BLUEZ_NETWORK_INTERFACE, DISCONNECT);
if (!message)