Please sign in to comment.
Bluetooth: Shell: Fix unregister GATT Metrics vendor service
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 <firstname.lastname@example.org>
- Loading branch information...