Diff between fd8dda80fc108845b9cd338b9f52624dc7e0ad96 and 557a8ae8589f027c18ecc81e984dc1918ce27283

Changed Files

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

Full Patch

diff --git a/audio/avrcp.c b/audio/avrcp.c
index e908bf4..f06afbf 100644
--- a/audio/avrcp.c
+++ b/audio/avrcp.c
@@ -1119,6 +1119,7 @@ static void state_changed(struct audio_device *dev, avctp_state_t old_state,
 	switch (new_state) {
 	case AVCTP_STATE_DISCONNECTED:
 		player->session = NULL;
+		player->registered_events = 0;
 
 		if (player->handler) {
 			avctp_unregister_pdu_handler(player->handler);