It was possible that on re-connect, the MCC implementation would receive notifications when cur_mcs_inst was NULL. This is partially caused by a bug in gatt.c, but can and should also be handled in MCC. This commit ensures that we do not compare handles on notifications with a NULL instance. This commit also ensures that subscribe_mcs_char_func is not called outside the context of the discovery procedure by setting the subscribe callback to NULL. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| audio | ||
| common | ||
| controller | ||
| crypto | ||
| host | ||
| mesh | ||
| services | ||
| shell | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adv | ||
| Kconfig.iso | ||