aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/jme.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/jme.c')
-rw-r--r--drivers/net/ethernet/jme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c
index 44ce7d88f554..6e9a792097d3 100644
--- a/drivers/net/ethernet/jme.c
+++ b/drivers/net/ethernet/jme.c
@@ -2154,9 +2154,9 @@ jme_tx_csum(struct jme_adapter *jme, struct sk_buff *skb, u8 *flags)
2154static inline void 2154static inline void
2155jme_tx_vlan(struct sk_buff *skb, __le16 *vlan, u8 *flags) 2155jme_tx_vlan(struct sk_buff *skb, __le16 *vlan, u8 *flags)
2156{ 2156{
2157 if (vlan_tx_tag_present(skb)) { 2157 if (skb_vlan_tag_present(skb)) {
2158 *flags |= TXFLAG_TAGON; 2158 *flags |= TXFLAG_TAGON;
2159 *vlan = cpu_to_le16(vlan_tx_tag_get(skb)); 2159 *vlan = cpu_to_le16(skb_vlan_tag_get(skb));
2160 } 2160 }
2161} 2161}
2162 2162