|
@@ -1623,7 +1623,7 @@ static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev)
|
|
/* TAG and timestamp required flag */
|
|
/* TAG and timestamp required flag */
|
|
skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
|
|
skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
|
|
desc->tagh_tsr = (ts_skb->tag >> 4) | TX_TSR;
|
|
desc->tagh_tsr = (ts_skb->tag >> 4) | TX_TSR;
|
|
- desc->ds_tagl |= le16_to_cpu(ts_skb->tag << 12);
|
|
|
|
|
|
+ desc->ds_tagl |= cpu_to_le16(ts_skb->tag << 12);
|
|
}
|
|
}
|
|
|
|
|
|
skb_tx_timestamp(skb);
|
|
skb_tx_timestamp(skb);
|