Diff between 9d2e019fe39495e4645504e965069a2214046252 and 18bdb1234d712dc466e7d71e8f6dc75ea1ef0c86

Changed Files

File Additions Deletions Status
profiles/network/connection.c +0 -4 modified

Full Patch

diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 9481072..84f3dd6 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -433,10 +433,6 @@ static DBusMessage *local_connect(DBusConnection *conn,
 	if (err < 0)
 		return btd_error_failed(msg, strerror(-err));
 
-	nc = find_connection(peer->connections, id);
-	if (!nc)
-		return btd_error_failed(msg, strerror(-err));
-
 	nc->connect = dbus_message_ref(msg);
 
 	return NULL;