Diff between c34ccee6b826a49f753cb6c7a336ce67f3345286 and cdeb4dab7d4a9dc5723352d50784cb5e9e65e399

Changed Files

File Additions Deletions Status
attrib/client.c +0 -7 modified

Full Patch

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;
 	}