net: qualcomm: fix QCA7000 checksum handling
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 28 Aug 2021 14:23:15 +0000 (16:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 10:28:02 +0000 (11:28 +0100)
commit429205da6c834447a57279af128bdd56ccd5225e
tree69fe615c6021736bb3ba5b7a7c4533449ca153e9
parenta16ef91aa61ac2a42b1bb199fccb897d54ab3dcd
net: qualcomm: fix QCA7000 checksum handling

Based on tests the QCA7000 doesn't support checksum offloading. So assume
ip_summed is CHECKSUM_NONE and let the kernel take care of the checksum
handling. This fixes data transfer issues in noisy environments.

Reported-by: Michael Heimpold <michael.heimpold@in-tech.com>
Fixes: 291ab06ecf67 ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/qualcomm/qca_uart.c