From 1986b5eb5c2fea0486e5ac637f57674e337fada7 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Wed, 27 Sep 2023 21:51:23 +0200 Subject: [PATCH] cpu/stm32/periph/eth: Disable hardware checksums lwIP will fill them in already. Having this enabled causes empty checksums to be sent: #19853 --- cpu/stm32/periph/eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpu/stm32/periph/eth.c b/cpu/stm32/periph/eth.c index 160980bc45..c42a2076a2 100644 --- a/cpu/stm32/periph/eth.c +++ b/cpu/stm32/periph/eth.c @@ -569,8 +569,7 @@ static int stm32_eth_send(netdev_t *netdev, const struct iolist *iolist) for (unsigned i = 0; iolist; iolist = iolist->iol_next, i++) { dma_iter->control = iolist->iol_len; dma_iter->buffer_addr = iolist->iol_base; - uint32_t status = TX_DESC_STAT_IC | TX_DESC_STAT_TCH | TX_DESC_STAT_CIC - | TX_DESC_STAT_OWN; + uint32_t status = TX_DESC_STAT_IC | TX_DESC_STAT_TCH | TX_DESC_STAT_OWN; if (!i) { /* fist chunk */ status |= TX_DESC_STAT_FS;