From 2a6b8a3fedcc45f4de0af69ab55c91b0528d61c9 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 22 Nov 2024 19:45:43 +0100 Subject: [PATCH] gnrc_netif: use different error messages for can't queue packet --- sys/net/gnrc/netif/gnrc_netif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/gnrc/netif/gnrc_netif.c b/sys/net/gnrc/netif/gnrc_netif.c index aa6cd4020f..6b6619bfc0 100644 --- a/sys/net/gnrc/netif/gnrc_netif.c +++ b/sys/net/gnrc/netif/gnrc_netif.c @@ -1807,7 +1807,7 @@ static void _tx_done(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt, return; /* early return to not release */ } else { - LOG_ERROR("gnrc_netif: can't queue packet for sending\n"); + LOG_ERROR("gnrc_netif: can't queue packet for sending, drop it\n"); /* If we got here, it means the device was busy and the pkt queue * was full. The packet should be dropped here anyway */ gnrc_pktbuf_release_error(pkt, ENOMEM); @@ -1880,7 +1880,7 @@ static void _send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt, bool push_back) return; } else { - LOG_WARNING("gnrc_netif: can't queue packet for sending\n"); + LOG_WARNING("gnrc_netif: can't queue packet for sending, try sending\n"); /* try to send anyway */ } }