summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-12-08 18:26:01 -0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-12-08 22:54:58 +0200
commit0d39f2db3c792f79c13f798e1ff4a47538d54d03 (patch)
treea7b3d88ba993aefd3e0f416fedba8943ec50e6fc /network
parentd1bc7a947c6c7a6aebda0e4a1387cffda33ef69d (diff)
Add btd_error_already_connected()
Diffstat (limited to 'network')
-rw-r--r--network/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/connection.c b/network/connection.c
index a652b981e..89c38d83a 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -396,7 +396,7 @@ static DBusMessage *connection_connect(DBusConnection *conn,
return btd_error_not_supported(msg);
if (nc->state != DISCONNECTED)
- return already_connected(msg);
+ return btd_error_already_connected(msg);
nc->io = bt_io_connect(BT_IO_L2CAP, connect_cb, nc,
NULL, &err,