Skip to content

Conversation

@pillo79
Copy link

@pillo79 pillo79 commented Dec 17, 2025

This change addresses an issue where combining additional_event_mask with NET_EVENT_IPV4_ADDR_ADD in the net_mgmt_event_wait_on_iface function caused unexpected behavior due to Zephyr's internal event handling.

By isolating the wait to only NET_EVENT_IPV4_ADDR_ADD, we ensure that the function behaves as intended (and for all purposes, as it was before). A more robust solution involving semaphores and multiple event registrations will be implemented in the future.

This change addresses an issue where combining additional_event_mask with
NET_EVENT_IPV4_ADDR_ADD in the net_mgmt_event_wait_on_iface function
caused unexpected behavior due to Zephyr's internal event handling.

By isolating the wait to only NET_EVENT_IPV4_ADDR_ADD, we ensure that
the function behaves as intended. A more robust solution involving
semaphores and multiple event registrations will be implemented in the
future.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant