libertas: Don't claim to have checksummed incoming packets.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 6 Dec 2007 10:36:08 +0000 (10:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:04 +0000 (15:06 -0800)
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 <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/rx.c

index fa467dfef003fc992c134f3cd762083be3dc3610..a252a8f74becfddbe2b0fbebedaa626da3752579 100644 (file)
@@ -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);
 }