drivers: ethernet: litex: add length to log
log the length, if obtaining a rx buffer fails. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
bab50a55de
commit
003aa520d0
@ -139,7 +139,7 @@ static void eth_rx(const struct device *port)
|
||||
pkt = net_pkt_rx_alloc_with_buffer(context->iface, len, AF_UNSPEC, 0,
|
||||
K_NO_WAIT);
|
||||
if (pkt == NULL) {
|
||||
LOG_ERR("Failed to obtain RX buffer");
|
||||
LOG_ERR("Failed to obtain RX buffer of length %u", len);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user