mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-03 09:40:14 +03:00
ar71xx: ag71xx: don't use dev->trans_start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20002 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
54b41868d6
commit
99dab77b59
@ -38,7 +38,7 @@
|
|||||||
#define ETH_FCS_LEN 4
|
#define ETH_FCS_LEN 4
|
||||||
|
|
||||||
#define AG71XX_DRV_NAME "ag71xx"
|
#define AG71XX_DRV_NAME "ag71xx"
|
||||||
#define AG71XX_DRV_VERSION "0.5.30"
|
#define AG71XX_DRV_VERSION "0.5.31"
|
||||||
|
|
||||||
#define AG71XX_NAPI_WEIGHT 64
|
#define AG71XX_NAPI_WEIGHT 64
|
||||||
#define AG71XX_OOM_REFILL (1 + HZ/10)
|
#define AG71XX_OOM_REFILL (1 + HZ/10)
|
||||||
|
@ -543,8 +543,6 @@ static netdev_tx_t ag71xx_hard_start_xmit(struct sk_buff *skb,
|
|||||||
/* enable TX engine */
|
/* enable TX engine */
|
||||||
ag71xx_wr(ag, AG71XX_REG_TX_CTRL, TX_CTRL_TXE);
|
ag71xx_wr(ag, AG71XX_REG_TX_CTRL, TX_CTRL_TXE);
|
||||||
|
|
||||||
dev->trans_start = jiffies;
|
|
||||||
|
|
||||||
return NETDEV_TX_OK;
|
return NETDEV_TX_OK;
|
||||||
|
|
||||||
err_drop:
|
err_drop:
|
||||||
|
Loading…
Reference in New Issue
Block a user