Diff between de1b3a5ac3991f5cfb9278c2887c0be2b71dc58b and 774ad9fdd96a522f944a1d09fe374f6a88e61807

Changed Files

File Additions Deletions Status
profiles/audio/transport.c +1 -2 modified

Full Patch

diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index 8597313..dbebb1e 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -2598,10 +2598,9 @@ void media_transport_update_device_volume(struct btd_device *dev,
 		/* Volume is A2DP only */
 		if (media_endpoint_get_sep(transport->endpoint)) {
 			media_transport_update_volume(transport, volume);
-			return;
+			break;
 		}
 	}
 
-	/* If transport volume doesn't exists add to device_volume */
 	btd_device_set_volume(dev, volume);
 }