- if (unlikely(!dummy->notif_iter)) {
- ret = BT_COMPONENT_STATUS_END;
- goto end;
- }
-
- /* Consume one notification */
- it_ret = bt_private_connection_notification_iterator_next(
- dummy->notif_iter, ¬ifs, &count);
+ /* Consume one message */
+ it_ret = bt_self_component_port_input_message_iterator_next(
+ dummy->msg_iter, &msgs, &count);