From f1e88405c05f12689a1fe19e58fa1ddfc0612d83 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 9 Oct 2012 11:04:35 +0200 Subject: [PATCH] obexd: Fix not using port when it is set by the client If the client set a channel/port the code would just ignore and attempt to discover the service anyway. --- obexd/client/bluetooth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c index a22d717b2..ad263e05f 100644 --- a/obexd/client/bluetooth.c +++ b/obexd/client/bluetooth.c @@ -581,6 +581,7 @@ static guint bluetooth_connect(const char *source, const char *destination, session->id = ++id; session->func = func; + session->port = port; session->user_data = user_data; session->conn = g_dbus_setup_bus(DBUS_BUS_SYSTEM, NULL, NULL); -- 2.47.3