From 8318779bc2835a56be22d8fceccc07ca73714e01 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht <gunar@schorcht.net> Date: Wed, 12 Dec 2018 18:11:41 +0100 Subject: [PATCH] cpu/esp32: replaces LOG_ERROR by DEBUG in esp_eth --- cpu/esp32/esp-eth/esp_eth_netdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/esp32/esp-eth/esp_eth_netdev.c b/cpu/esp32/esp-eth/esp_eth_netdev.c index 5f3d8f7b14..e5ef2eeafc 100644 --- a/cpu/esp32/esp-eth/esp_eth_netdev.c +++ b/cpu/esp32/esp-eth/esp_eth_netdev.c @@ -262,8 +262,8 @@ static int _esp_eth_recv(netdev_t *netdev, void *buf, size_t len, void *info) /* return the packet */ if (dev->rx_len > len) { - LOG_TAG_ERROR("esp_eth", "Not enough space in receive buffer " - "for %d byte\n", dev->rx_len); + /* buffer is smaller than the number of received bytes */ + DEBUG("%s: Not enough space in receive buffer for %d bytes\n", mutex_unlock(&dev->dev_lock); return -ENOBUFS; } -- GitLab