diff options
author | Francois Romieu | 2006-08-16 14:51:52 +0200 |
---|---|---|
committer | Francois Romieu | 2006-08-31 21:59:19 +0200 |
commit | 188f4af04618b32b8ec7c630a3f18201c81ce70c (patch) | |
tree | a09867951537476aa8125a400528e42f85d8a23a | |
parent | bcf0bf90cd9e9242b66e0563b6a8c8db2e4c262c (diff) |
r8169: use NETDEV_TX_{BUSY/OK}
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
-rw-r--r-- | drivers/net/r8169.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index d0bfe4c8950d..b07d2eadeae6 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -2277,7 +2277,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev) dma_addr_t mapping; u32 status, len; u32 opts1; - int ret = 0; + int ret = NETDEV_TX_OK; if (unlikely(TX_BUFFS_AVAIL(tp) < skb_shinfo(skb)->nr_frags)) { if (netif_msg_drv(tp)) { @@ -2342,7 +2342,7 @@ out: err_stop: netif_stop_queue(dev); - ret = 1; + ret = NETDEV_TX_BUSY; err_update_stats: tp->stats.tx_dropped++; goto out; |