diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-08-16 14:51:52 +0200 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2006-08-31 21:59:19 +0200 |
commit | 188f4af04618b32b8ec7c630a3f18201c81ce70c (patch) | |
tree | a09867951537476aa8125a400528e42f85d8a23a /drivers | |
parent | r8169: sync with vendor's driver (diff) | |
download | linux-188f4af04618b32b8ec7c630a3f18201c81ce70c.tar.xz linux-188f4af04618b32b8ec7c630a3f18201c81ce70c.zip |
r8169: use NETDEV_TX_{BUSY/OK}
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers')
-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; |