From 375cc98772e8a119db05cc717a78e2d28b374e62 Mon Sep 17 00:00:00 2001 From: Deomid rojer Ryabkov Date: Wed, 30 Apr 2025 00:58:51 +0300 Subject: [PATCH] Fix proc rx entry comparison --- nimble/host/src/ble_gattc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nimble/host/src/ble_gattc.c b/nimble/host/src/ble_gattc.c index d6af182a0..2c78bfe75 100644 --- a/nimble/host/src/ble_gattc.c +++ b/nimble/host/src/ble_gattc.c @@ -995,8 +995,8 @@ ble_gattc_proc_matches_conn_rx_entry(struct ble_gattc_proc *proc, void *arg) criteria = arg; if (criteria->conn_handle != BLE_HS_CONN_HANDLE_NONE && - criteria->conn_handle != proc->conn_handle && - criteria->cid != proc->cid) { + (criteria->conn_handle != proc->conn_handle || + criteria->cid != proc->cid)) { return 0; }