Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340728
b: refs/heads/master
c: 810f489
h: refs/heads/master
v: v3
  • Loading branch information
Kirill Smelkov authored and Francois Romieu committed Nov 11, 2012
1 parent 1149348 commit 952156d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac50974b37f2763aa8c6e6626e17694af468b9ad
refs/heads/master: 810f4893e93b4e074be6b7a7cc6a36a1f2c51aa8
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -1814,8 +1814,7 @@ static int rtl8169_set_features(struct net_device *dev,
}


static inline u32 rtl8169_tx_vlan_tag(struct rtl8169_private *tp,
struct sk_buff *skb)
static inline u32 rtl8169_tx_vlan_tag(struct sk_buff *skb)
{
return (vlan_tx_tag_present(skb)) ?
TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;
Expand Down Expand Up @@ -5816,7 +5815,7 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
tp->tx_skb[entry].len = len;
txd->addr = cpu_to_le64(mapping);

opts[1] = cpu_to_le32(rtl8169_tx_vlan_tag(tp, skb));
opts[1] = cpu_to_le32(rtl8169_tx_vlan_tag(skb));
opts[0] = DescOwn;

rtl8169_tso_csum(tp, skb, opts);
Expand Down

0 comments on commit 952156d

Please sign in to comment.