[PATCH BlueZ 03/11] Remove leftover D-Bus message in gatt_service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 attrib/client.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/attrib/client.c b/attrib/client.c
index f7c78d3..93d0da7 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -58,7 +58,6 @@ struct gatt_service {
 	DBusConnection *conn;
 	GSList *primary;
 	GAttrib *attrib;
-	DBusMessage *msg;
 	int psm;
 	gboolean listen;
 };
@@ -343,12 +342,6 @@ static void connect_cb(GIOChannel *chan, GError *gerr, gpointer user_data)
 	struct gatt_service *gatt = user_data;
 
 	if (gerr) {
-		if (gatt->msg) {
-			DBusMessage *reply = btd_error_failed(gatt->msg,
-							gerr->message);
-			g_dbus_send_message(gatt->conn, reply);
-		}
-
 		error("%s", gerr->message);
 		goto fail;
 	}
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux