diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 2809b7f..636d3e4 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
AVC_CTYPE_CONTROL, AVC_SUBUNIT_PANEL,
buf, sizeof(buf),
avrcp_handle_set_volume, session);
- } else {
+ } else if (session->registered_events &
+ (1 << AVRCP_EVENT_VOLUME_CHANGED)) {
uint8_t id = AVRCP_EVENT_VOLUME_CHANGED;
pdu->pdu_id = AVRCP_REGISTER_NOTIFICATION;
pdu->params[0] = AVRCP_EVENT_VOLUME_CHANGED;
AVC_CTYPE_CHANGED, AVC_SUBUNIT_PANEL,
buf, sizeof(buf));
}
+
+ return 0;
}