Diff between e88c149d3b5a032bcce55f80e67ad2fd6a7237d7 and dfea2253dc990005ebaf751af97d5cffd3e657dc

Changed Files

File Additions Deletions Status
src/shared/gatt-client.c +1 -1 modified

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index b7cf757..1acd34f 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -1895,7 +1895,7 @@ unsigned int bt_gatt_client_read_multiple(struct bt_gatt_client *client,
 		return 0;
 
 	req = request_create(client);
-	if (!client) {
+	if (!req) {
 		free(op);
 		return 0;
 	}