This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 7ec17b68 nimble/audio/bass: Fix infinite loop
7ec17b68 is described below
commit 7ec17b684d818ca6367cefc94c6b51daa299c8d4
Author: Mariusz Skamra <[email protected]>
AuthorDate: Thu May 16 14:26:51 2024 +0200
nimble/audio/bass: Fix infinite loop
This fixes infinite loop while sending BASS Receive state notifications.
---
nimble/host/audio/services/bass/src/ble_audio_svc_bass.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c
b/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c
index 97f8afd9..1c4ff639 100644
--- a/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c
+++ b/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c
@@ -408,7 +408,6 @@ done:
if (!rc) {
rc = ble_svc_audio_bass_receive_state_notify(rcv_state);
ev.bass_operation_status.status = rc;
- goto done;
}
ble_audio_event_listener_call(&ev);