Diff between befa914c9f79733e3a71503d4707d0d97f239c6f and f6f5ed52a338548dfe7e6c540946a4c0672e0017

Changed Files

File Additions Deletions Status
src/gatt-client.c +0 -3 modified

Full Patch

diff --git a/src/gatt-client.c b/src/gatt-client.c
index 39f6646..b4ca3b6 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -1205,9 +1205,6 @@ static DBusMessage *characteristic_stop_notify(DBusConnection *conn,
 	const char *sender = dbus_message_get_sender(msg);
 	struct notify_client *client;
 
-	if (!chrc->notifying)
-		return btd_error_failed(msg, "Not notifying");
-
 	client = queue_remove_if(chrc->notify_clients, match_notify_sender,
 							(void *) sender);
 	if (!client)