aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3/vmxnet3_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_drv.c')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c
index 31439818c27e..294214c15292 100644
--- a/drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/drivers/net/vmxnet3/vmxnet3_drv.c
@@ -1038,9 +1038,9 @@ vmxnet3_tq_xmit(struct sk_buff *skb, struct vmxnet3_tx_queue *tq,
1038 le32_add_cpu(&tq->shared->txNumDeferred, 1); 1038 le32_add_cpu(&tq->shared->txNumDeferred, 1);
1039 } 1039 }
1040 1040
1041 if (vlan_tx_tag_present(skb)) { 1041 if (skb_vlan_tag_present(skb)) {
1042 gdesc->txd.ti = 1; 1042 gdesc->txd.ti = 1;
1043 gdesc->txd.tci = vlan_tx_tag_get(skb); 1043 gdesc->txd.tci = skb_vlan_tag_get(skb);
1044 } 1044 }
1045 1045
1046 /* finally flips the GEN bit of the SOP desc. */ 1046 /* finally flips the GEN bit of the SOP desc. */