mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19952
19952: cpu/stm32/periph/eth: Disable hardware checksums r=maribu a=yarrick lwIP will fill them in already. Having this enabled causes empty checksums to be sent: #19853 Co-authored-by: Erik Ekman <eekman@google.com>
This commit is contained in:
commit
99dc926f5e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user