wireless: convert drivers to netdev_tx_t
Mostly just simple conversions: * ray_cs had bogus return of NET_TX_LOCKED but driver was not using NETIF_F_LLTX * hostap and ipw2x00 had some code that returned value from a called function that also had to change to return netdev_tx_t Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0fc480987e
commit
d0cf9c0dad
@@ -781,7 +781,7 @@ static void tx_update_descriptor(struct atmel_private *priv, int is_bcast,
|
||||
priv->tx_free_mem -= len;
|
||||
}
|
||||
|
||||
static int start_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
static const u8 SNAP_RFC1024[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||
struct atmel_private *priv = netdev_priv(dev);
|
||||
|
Reference in New Issue
Block a user