Skip to content

Commit

Permalink
iwmc3200wifi: hardware does not support IP checksum
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhu Yi authored and John W. Linville committed Jul 24, 2009
1 parent 1cc589b commit 3a0e485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwmc3200wifi/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ static void iwm_rx_process_packet(struct iwm_priv *iwm,

skb->dev = iwm_to_ndev(iwm);
skb->protocol = eth_type_trans(skb, ndev);
skb->ip_summed = CHECKSUM_UNNECESSARY;
skb->ip_summed = CHECKSUM_NONE;
memset(skb->cb, 0, sizeof(skb->cb));

ndev->stats.rx_packets++;
Expand Down

0 comments on commit 3a0e485

Please sign in to comment.