Skip to content

Commit 8749a6b

Browse files
FabianEckermanncodebot
authored andcommitted
cu_cp: fix paging for already released dus
1 parent f79c05f commit 8749a6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cu_cp/paging/paging_message_handler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ void paging_message_handler::handle_paging_message(const cu_cp_paging_message& m
2525
{
2626
// Forward paging message to all DU processors
2727
bool paging_sent = false;
28-
for (unsigned i = 0; i != dus.get_nof_dus(); ++i) {
29-
paging_sent |= handle_du_paging_message(uint_to_du_index(i), msg);
28+
for (const auto& du_idx : dus.get_du_processor_indexes()) {
29+
paging_sent |= handle_du_paging_message(du_idx, msg);
3030
}
3131

3232
if (not paging_sent) {

0 commit comments

Comments
 (0)