summaryrefslogtreecommitdiffstats
path: root/serial
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-24 17:08:19 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-24 17:08:19 +0000
commit683ab9d3287f80091036b0c73a56457ca022f47e (patch)
tree63b8c4f4c679eebfd7bd35d8f53d1f9ad5977ec3 /serial
parentc4109a02321b885562f248eb1b694bdc595bc5c3 (diff)
serial: release node called twice
Diffstat (limited to 'serial')
-rw-r--r--serial/manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/serial/manager.c b/serial/manager.c
index 8d7af3f9..c57e5eb1 100644
--- a/serial/manager.c
+++ b/serial/manager.c
@@ -1045,10 +1045,6 @@ static DBusHandlerResult disconnect_service(DBusConnection *conn,
if (err < 0)
return err_does_not_exist(conn, msg, "Invalid RFCOMM node");
- err = rfcomm_release(id);
- if (err < 0)
- return err_failed(conn, msg, strerror(-err));
-
send_message_and_unref(conn,
dbus_message_new_method_return(msg));