Commit f560b735 authored by John W. Linville's avatar John W. Linville Committed by Jeff Garzik

[PATCH] r8169: endian-swap return of rtl8169_tx_vlan_tag()

Endian-swap return of rtl8169_tx_vlan_tag() in rtl8169_start_xmit()
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent a037d91e
......@@ -1906,7 +1906,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
tp->tx_skb[entry].len = len;
txd->addr = cpu_to_le64(mapping);
txd->opts2 = rtl8169_tx_vlan_tag(tp, skb);
txd->opts2 = cpu_to_le32(rtl8169_tx_vlan_tag(tp, skb));
wmb();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment