commit | 31016448b4a8af601316fe7366b94bec662657a3 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Feb 03 14:19:08 2017 +0200 |
committer | Luiz Augusto von Dentz <luiz.dentz@gmail.com> | Mon Feb 06 11:18:57 2017 +0000 |
tree | 055ac53b987d8893d82171f24675dd7ffd170abc | |
parent | 7fe2a96fc2251d9d90268184cfc14b33abcdb7eb [diff] |
Bluetooth: GATT: Fix not removing subscriptions safely The subscriptions callback may free or reuse the subscription so all instances that where this could happen need to safely fetch the next element which is why this changes switch to use sys_list_t as it has SYS_SLIST_FOR_EACH_NODE_SAFE. Change-Id: I37d51f27116ea0c057b560924a9416676477597b Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>