]> Pileus Git - ~andy/linux/blobdiff - drivers/net/eql.c
iwlwifi: fix HT operation in 2.4 GHz band
[~andy/linux] / drivers / net / eql.c
index 19b7dd983944d84add883ee3f0d50abf270e0b80..d4d9a3eda69556f5b8ab5f11d39d8adeb9b036a4 100644 (file)
 static int eql_open(struct net_device *dev);
 static int eql_close(struct net_device *dev);
 static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
-static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev);
+static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev);
 
 #define eql_is_slave(dev)      ((dev->flags & IFF_SLAVE) == IFF_SLAVE)
 #define eql_is_master(dev)     ((dev->flags & IFF_MASTER) == IFF_MASTER)
@@ -325,7 +325,7 @@ static slave_t *__eql_schedule_slaves(slave_queue_t *queue)
        return best_slave;
 }
 
-static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev)
 {
        equalizer_t *eql = netdev_priv(dev);
        slave_t *slave;
@@ -348,7 +348,7 @@ static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev)
 
        spin_unlock(&eql->queue.lock);
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /*