From 6aa4055ef0544ae85457c25c510fe3db04949c43 Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Fri, 7 Aug 2015 17:11:34 +0900 Subject: Base Code merged to SPIN 2.4 Signed-off-by: hyunuktak Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17 --- plugins/bluetooth_legacy.c | 7 +++++++ 1 file changed, 7 insertions(+) mode change 100644 => 100755 plugins/bluetooth_legacy.c (limited to 'plugins/bluetooth_legacy.c') diff --git a/plugins/bluetooth_legacy.c b/plugins/bluetooth_legacy.c old mode 100644 new mode 100755 index 5a9a3955..16d717ed --- 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) -- cgit v1.2.3