diff options
Diffstat (limited to 'subsys/bluetooth/host/gatt.c')
-rw-r--r-- | subsys/bluetooth/host/gatt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subsys/bluetooth/host/gatt.c b/subsys/bluetooth/host/gatt.c index 56c6b1822..92ae2e551 100644 --- a/subsys/bluetooth/host/gatt.c +++ b/subsys/bluetooth/host/gatt.c @@ -712,6 +712,10 @@ void bt_gatt_notification(struct bt_conn *conn, uint16_t handle, BT_DBG("handle 0x%04x length %u", handle, length); for (params = subscriptions; params; params = params->_next) { + if (bt_addr_le_cmp(&conn->le.dst, ¶ms->_peer)) { + continue; + } + if (handle != params->value_handle) { continue; } |