mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-13 05:27:56 +00:00
Fix proc rx entry comparison
This commit is contained in:
committed by
Sumeet Singh
parent
f5136d2b35
commit
375cc98772
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user