Skip to content
Permalink
Browse files

Bluetooth: GATT: Fix registering on static service area

When registering a new service it has to account the area used by static
services.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information...
Vudentz authored and nashif committed Jul 2, 2019
1 parent d8c5c9d commit dbe80fd9872f4673b79faf9ea260fa37c69b8f04
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/bluetooth/host/gatt.c
@@ -566,7 +566,7 @@ static int gatt_register(struct bt_gatt_service *svc)
u16_t count = svc->attr_count;

if (sys_slist_is_empty(&db)) {
handle = 0;
handle = last_static_handle;
last_handle = 0;
goto populate;
}

0 comments on commit dbe80fd

Please sign in to comment.
You can’t perform that action at this time.