From c8cb20a5b8081ba8da8cd510aa428233853ead34 Mon Sep 17 00:00:00 2001 From: Michael Scott Date: Thu, 27 Apr 2017 15:35:56 -0700 Subject: [PATCH] bluetooth: host: fix compile break with CONFIG_ASSERT in gatt.c Fix the attr->handler reference to attr->handle. Change-Id: I4a6ccee7860abf800f51df404979eac18eb26e8e Signed-off-by: Michael Scott --- subsys/bluetooth/host/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/gatt.c b/subsys/bluetooth/host/gatt.c index 0f704a97dbe..80a86d12e45 100644 --- a/subsys/bluetooth/host/gatt.c +++ b/subsys/bluetooth/host/gatt.c @@ -560,7 +560,7 @@ int bt_gatt_notify(struct bt_conn *conn, const struct bt_gatt_attr *attr, { struct notify_data nfy; - __ASSERT(attr && attr->handler, "invalid parameters\n"); + __ASSERT(attr && attr->handle, "invalid parameters\n"); if (conn) { return gatt_notify(conn, attr->handle, data, len);