Diff between e88f914ea700dc5f67e3a260a29b592df0cf2936 and f77e72c3ab11d8c06f487ff7892afef2aefbd0f6
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 65f1adb..8d1e03b 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1793,7 +1793,7 @@ static uint8_t avrcp_handle_set_absolute_volume(struct avrcp *session,
goto err;
}
- volume = pdu->params[0] & 0x7F;
+ volume = pdu->params[0] = pdu->params[0] & 0x7F;
media_transport_update_device_volume(session->dev, volume);