The 'registered' flag was not cleared when 'gatt metrics off' was called so that one was unable to register the service again. Remove 'registered' variable that is actually not needed as there is no tracking if service is already registered in similar cmd_register_test_svc command. If the service is already registered, the host will log an error. Fixes: #17882 Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl> |
||
|---|---|---|
| .. | ||
| bredr.c | ||
| bt.c | ||
| bt.h | ||
| CMakeLists.txt | ||
| gatt.c | ||
| hci.c | ||
| hci.h | ||
| Kconfig | ||
| l2cap.c | ||
| ll.c | ||
| ll.h | ||
| rfcomm.c | ||
| ticker.c | ||