diff options
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r-- | drivers/net/ps3_gelic_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 06649d0c2098..30900b30d532 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -745,7 +745,7 @@ static inline struct sk_buff *gelic_put_vlan_tag(struct sk_buff *skb, | |||
745 | /* Move the mac addresses to the top of buffer */ | 745 | /* Move the mac addresses to the top of buffer */ |
746 | memmove(skb->data, skb->data + VLAN_HLEN, 2 * ETH_ALEN); | 746 | memmove(skb->data, skb->data + VLAN_HLEN, 2 * ETH_ALEN); |
747 | 747 | ||
748 | veth->h_vlan_proto = __constant_htons(ETH_P_8021Q); | 748 | veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q); |
749 | veth->h_vlan_TCI = htons(tag); | 749 | veth->h_vlan_TCI = htons(tag); |
750 | 750 | ||
751 | return skb; | 751 | return skb; |