From: David Woodhouse Date: Thu, 6 Dec 2007 10:36:08 +0000 (+0000) Subject: libertas: Don't claim to have checksummed incoming packets. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9088566176cb7f7361e862557eb20adfdd1bfc1f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git libertas: Don't claim to have checksummed incoming packets. This explains why we never noticed the corruption of checksums on outgoing packets... we weren't actually checking them either. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index fa467dfef003..a252a8f74bec 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c @@ -147,7 +147,7 @@ void lbs_upload_rx_packet(struct lbs_private *priv, struct sk_buff *skb) else skb->protocol = eth_type_trans(skb, priv->dev); } - skb->ip_summed = CHECKSUM_UNNECESSARY; + skb->ip_summed = CHECKSUM_NONE; netif_rx(skb); }