diff options
Diffstat (limited to 'drivers/net/atl1e/atl1e_main.c')
-rw-r--r-- | drivers/net/atl1e/atl1e_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c index b6605d433e91..7dd33776de00 100644 --- a/drivers/net/atl1e/atl1e_main.c +++ b/drivers/net/atl1e/atl1e_main.c | |||
@@ -1679,7 +1679,7 @@ static void atl1e_tx_map(struct atl1e_adapter *adapter, | |||
1679 | { | 1679 | { |
1680 | struct atl1e_tpd_desc *use_tpd = NULL; | 1680 | struct atl1e_tpd_desc *use_tpd = NULL; |
1681 | struct atl1e_tx_buffer *tx_buffer = NULL; | 1681 | struct atl1e_tx_buffer *tx_buffer = NULL; |
1682 | u16 buf_len = skb->len - skb->data_len; | 1682 | u16 buf_len = skb_headlen(skb); |
1683 | u16 map_len = 0; | 1683 | u16 map_len = 0; |
1684 | u16 mapped_len = 0; | 1684 | u16 mapped_len = 0; |
1685 | u16 hdr_len = 0; | 1685 | u16 hdr_len = 0; |