From 3fbe4e46dc885758ee18b075c1860fbbd0d63663 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Tue, 26 Oct 2021 16:09:02 +0200 Subject: [PATCH] avrcp_controller: remove duplicate check --- src/classic/avrcp_controller.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/classic/avrcp_controller.c b/src/classic/avrcp_controller.c index 8a57400cc..e3d317bc6 100644 --- a/src/classic/avrcp_controller.c +++ b/src/classic/avrcp_controller.c @@ -680,10 +680,6 @@ static uint8_t avrcp_controller_register_notification(avrcp_connection_t * conne if ( (connection->notifications_enabled & (1 << event_id)) != 0){ return ERROR_CODE_SUCCESS; } - if ( (connection->notifications_to_register & (1 << event_id)) != 0){ - return ERROR_CODE_SUCCESS; - } - connection->notifications_to_register |= (1 << event_id); if (!connection->remote_supported_notifications_queried){