diff options
Diffstat (limited to 'net/netrom')
-rw-r--r-- | net/netrom/nr_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c index 351372463fe..c7b7838a051 100644 --- a/net/netrom/nr_dev.c +++ b/net/netrom/nr_dev.c @@ -177,13 +177,13 @@ static int nr_xmit(struct sk_buff *skb, struct net_device *dev) if (!nr_route_frame(skb, NULL)) { kfree_skb(skb); stats->tx_errors++; - return 0; + return NETDEV_TX_OK; } stats->tx_packets++; stats->tx_bytes += len; - return 0; + return NETDEV_TX_OK; } static const struct header_ops nr_header_ops = { |