When using BT_GATT_AUTO_DISCOVER_CCC if the ccc_handle is not set bt_gatt_subscribe would initiate a discovery to locate the CCC handle but instead of awaiting it to complete the code does proceed to call gatt_write_ccc even with ccc_handle being 0x0000 which is invalid. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> |
||
|---|---|---|
| .. | ||
| common | ||
| controller | ||
| host | ||
| mesh | ||
| services | ||
| shell | ||
| CMakeLists.txt | ||
| Kconfig | ||