mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
The assertion is a bit overeager. In case of receiving a wrong message ID, we re-try receive without entering the STATE_REQUEST_SEND state again, so it is expected that we get a non-NULL ctx/response from sock_udp_recv_buf(). What this assert should actually check is that we don't get a non-NULL ctx after calling sock_udp_recv_buf() with a non-NULL ctx. So make this explicit to not falsely fail the assertion.