diff options
Diffstat (limited to 'drivers/net/ethernet/via/via-velocity.c')
-rw-r--r-- | drivers/net/ethernet/via/via-velocity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c index 282f83a63b67..c20206f83cc1 100644 --- a/drivers/net/ethernet/via/via-velocity.c +++ b/drivers/net/ethernet/via/via-velocity.c | |||
@@ -2611,8 +2611,8 @@ static netdev_tx_t velocity_xmit(struct sk_buff *skb, | |||
2611 | 2611 | ||
2612 | td_ptr->tdesc1.cmd = TCPLS_NORMAL + (tdinfo->nskb_dma + 1) * 16; | 2612 | td_ptr->tdesc1.cmd = TCPLS_NORMAL + (tdinfo->nskb_dma + 1) * 16; |
2613 | 2613 | ||
2614 | if (vlan_tx_tag_present(skb)) { | 2614 | if (skb_vlan_tag_present(skb)) { |
2615 | td_ptr->tdesc1.vlan = cpu_to_le16(vlan_tx_tag_get(skb)); | 2615 | td_ptr->tdesc1.vlan = cpu_to_le16(skb_vlan_tag_get(skb)); |
2616 | td_ptr->tdesc1.TCR |= TCR0_VETAG; | 2616 | td_ptr->tdesc1.TCR |= TCR0_VETAG; |
2617 | } | 2617 | } |
2618 | 2618 | ||