Diff between 67eccade2d38f790b0698b6e2cbcd6282b21e534 and 97b5bf5d9a4377b650560a20f4a0f8ad6a9f40d8

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 245b3fc..60f8cbf 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3228,7 +3228,7 @@ static void avrcp_register_notification(struct avrcp *session, uint8_t event)
 	 * use it to resync.
 	 */
 	if (event == AVRCP_EVENT_PLAYBACK_POS_CHANGED)
-		bt_put_be32(UINT32_MAX, &pdu->params[1]);
+		bt_put_be32(UINT32_MAX / 1000, &pdu->params[1]);
 
 	pdu->params_len = htons(AVRCP_REGISTER_NOTIFICATION_PARAM_LENGTH);