Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 155c348f authored by Alexei Avshalom Lazar's avatar Alexei Avshalom Lazar
Browse files

wil6210: set ip_summed to CHECKSUM_UNNECESSARY if no error found



In EDMA, checksum was not set to CHECKSUM_UNNECESSARY when no
errors were reported from HW, causing checksum to be calculated
by network stack.

Change-Id: I4847ddbf1dcb5151fbbd4f12ce467096e839a8c5
Signed-off-by: default avatarAlexei Avshalom Lazar <ailizaro@codeaurora.org>
parent b7bafeea
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -848,8 +848,10 @@ static int wil_rx_edma_check_errors(struct wil6210_priv *wil, void *msg,
	int l4_rx_status;

	error = wil_rx_status_get_error(msg);
	if (!error)
	if (!error) {
		skb->ip_summed = CHECKSUM_UNNECESSARY;
		return 0;
	}

	l2_rx_status = wil_rx_status_get_l2_rx_status(msg);
	if (l2_rx_status != 0) {