Diff between dd27e2dceb7a6654c470bc5c3d13b3076ba21591 and 64daf61e43d644023ff16ecbc57fa25516eb34da

Changed Files

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

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index c173b89..c3dc41c 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -4175,6 +4175,9 @@ static void process_dev_pending_requests(struct gatt_device *device,
 {
 	struct request_processing_data process_data;
 
+	if (queue_isempty(device->pending_requests))
+		return;
+
 	process_data.device = device;
 	process_data.opcode = att_opcode;