Diff between b8653aa78efa1c49bd5e8507ae6993036b80901b and 9a35bd6d42768568a2dc85792c0d27ee317e329a

Changed Files

File Additions Deletions Status
profiles/audio/avrcp.c +2 -0 modified

Full Patch

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index aa0085b..e8b6025 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3121,8 +3121,10 @@ static gboolean avrcp_play_item_rsp(struct avctp *conn, uint8_t code,
 		case AVRCP_STATUS_UID_CHANGED:
 		case AVRCP_STATUS_DOES_NOT_EXIST:
 			ret = -ENOENT;
+			break;
 		default:
 			ret = -EINVAL;
+			break;
 		}
 		goto done;
 	}