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 <michael.scott@linaro.org>
This commit is contained in:
parent
3666fb81f5
commit
c8cb20a5b8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue