aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/rx.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-07-16 05:34:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:20 -0400
commit3a0e4851c97328ee455a57cb3e4097bb43934a87 (patch)
tree32e0e073490fccb235fcc8e88135805d7c9ef442 /drivers/net/wireless/iwmc3200wifi/rx.c
parent1cc589b9e7d95888bb8cc806c210d8ab5371d40f (diff)
iwmc3200wifi: hardware does not support IP checksum
The iwmc3200wifi hardware doesn't support IP checksum. So mark the skb->ip_summed to CHECKSUM_NONE instead of CHECKSUM_UNNECESSARY. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/rx.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c
index 59ef69ca3ca7..9fb498b514e1 100644
--- a/drivers/net/wireless/iwmc3200wifi/rx.c
+++ b/drivers/net/wireless/iwmc3200wifi/rx.c
@@ -1359,7 +1359,7 @@ static void iwm_rx_process_packet(struct iwm_priv *iwm,
1359 1359
1360 skb->dev = iwm_to_ndev(iwm); 1360 skb->dev = iwm_to_ndev(iwm);
1361 skb->protocol = eth_type_trans(skb, ndev); 1361 skb->protocol = eth_type_trans(skb, ndev);
1362 skb->ip_summed = CHECKSUM_UNNECESSARY; 1362 skb->ip_summed = CHECKSUM_NONE;
1363 memset(skb->cb, 0, sizeof(skb->cb)); 1363 memset(skb->cb, 0, sizeof(skb->cb));
1364 1364
1365 ndev->stats.rx_packets++; 1365 ndev->stats.rx_packets++;