diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-08 18:25:59 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-08 22:54:53 +0200 |
commit | 57c9bf4d916f8fc0ecb8234404a255f0bdee250b (patch) | |
tree | bf75e7602e274d3f1e88c9606cb8ea39857931fc /serial | |
parent | 18d001bc2dc9b3aca800215989bc3dbd78d9ff63 (diff) | |
download | bluez-57c9bf4d916f8fc0ecb8234404a255f0bdee250b.tar.gz |
convert error to btd_error_not_connected()
Diffstat (limited to 'serial')
-rw-r--r-- | serial/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/port.c b/serial/port.c index 1d0bfc18d..0d1e60054 100644 --- a/serial/port.c +++ b/serial/port.c @@ -533,7 +533,7 @@ static DBusMessage *port_disconnect(DBusConnection *conn, return btd_error_does_not_exist(msg); if (!port->listener_id) - return failed(msg, "Not connected"); + return btd_error_not_connected(msg); owner = dbus_message_get_sender(port->msg); caller = dbus_message_get_sender(msg); |