mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
avrcp_controller: return on wrong response type
This commit is contained in:
parent
eebb600bb8
commit
66ec160393
@ -770,10 +770,7 @@ static void avrcp_controller_handle_notification(avrcp_connection_t *connection,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
connection->notifications_to_register &= reset_event_mask;
|
||||
connection->notifications_enabled &= reset_event_mask;
|
||||
connection->notifications_to_deregister &= reset_event_mask;
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
avrcp_controller_emit_notification_for_event_id(connection->avrcp_cid, event_id, ctype, payload + pos, size - pos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user