diff options
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r-- | drivers/net/wireless/airo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index c70604f0329e..49f3139a3fe7 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -1927,7 +1927,7 @@ static int mpi_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
1927 | 1927 | ||
1928 | if (!skb) { | 1928 | if (!skb) { |
1929 | airo_print_err(dev->name, "%s: skb == NULL!",__func__); | 1929 | airo_print_err(dev->name, "%s: skb == NULL!",__func__); |
1930 | return 0; | 1930 | return NETDEV_TX_OK; |
1931 | } | 1931 | } |
1932 | npacks = skb_queue_len (&ai->txq); | 1932 | npacks = skb_queue_len (&ai->txq); |
1933 | 1933 | ||
@@ -1938,7 +1938,7 @@ static int mpi_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
1938 | return NETDEV_TX_BUSY; | 1938 | return NETDEV_TX_BUSY; |
1939 | } | 1939 | } |
1940 | skb_queue_tail (&ai->txq, skb); | 1940 | skb_queue_tail (&ai->txq, skb); |
1941 | return 0; | 1941 | return NETDEV_TX_OK; |
1942 | } | 1942 | } |
1943 | 1943 | ||
1944 | spin_lock_irqsave(&ai->aux_lock, flags); | 1944 | spin_lock_irqsave(&ai->aux_lock, flags); |
@@ -1951,7 +1951,7 @@ static int mpi_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
1951 | set_bit(FLAG_PENDING_XMIT, &ai->flags); | 1951 | set_bit(FLAG_PENDING_XMIT, &ai->flags); |
1952 | mpi_send_packet (dev); | 1952 | mpi_send_packet (dev); |
1953 | } | 1953 | } |
1954 | return 0; | 1954 | return NETDEV_TX_OK; |
1955 | } | 1955 | } |
1956 | 1956 | ||
1957 | /* | 1957 | /* |
@@ -2127,7 +2127,7 @@ static int airo_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
2127 | 2127 | ||
2128 | if ( skb == NULL ) { | 2128 | if ( skb == NULL ) { |
2129 | airo_print_err(dev->name, "%s: skb == NULL!", __func__); | 2129 | airo_print_err(dev->name, "%s: skb == NULL!", __func__); |
2130 | return 0; | 2130 | return NETDEV_TX_OK; |
2131 | } | 2131 | } |
2132 | 2132 | ||
2133 | /* Find a vacant FID */ | 2133 | /* Find a vacant FID */ |
@@ -2155,7 +2155,7 @@ static int airo_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
2155 | wake_up_interruptible(&priv->thr_wait); | 2155 | wake_up_interruptible(&priv->thr_wait); |
2156 | } else | 2156 | } else |
2157 | airo_end_xmit(dev); | 2157 | airo_end_xmit(dev); |
2158 | return 0; | 2158 | return NETDEV_TX_OK; |
2159 | } | 2159 | } |
2160 | 2160 | ||
2161 | static void airo_end_xmit11(struct net_device *dev) { | 2161 | static void airo_end_xmit11(struct net_device *dev) { |
@@ -2199,7 +2199,7 @@ static int airo_start_xmit11(struct sk_buff *skb, struct net_device *dev) { | |||
2199 | 2199 | ||
2200 | if ( skb == NULL ) { | 2200 | if ( skb == NULL ) { |
2201 | airo_print_err(dev->name, "%s: skb == NULL!", __func__); | 2201 | airo_print_err(dev->name, "%s: skb == NULL!", __func__); |
2202 | return 0; | 2202 | return NETDEV_TX_OK; |
2203 | } | 2203 | } |
2204 | 2204 | ||
2205 | /* Find a vacant FID */ | 2205 | /* Find a vacant FID */ |
@@ -2227,7 +2227,7 @@ static int airo_start_xmit11(struct sk_buff *skb, struct net_device *dev) { | |||
2227 | wake_up_interruptible(&priv->thr_wait); | 2227 | wake_up_interruptible(&priv->thr_wait); |
2228 | } else | 2228 | } else |
2229 | airo_end_xmit11(dev); | 2229 | airo_end_xmit11(dev); |
2230 | return 0; | 2230 | return NETDEV_TX_OK; |
2231 | } | 2231 | } |
2232 | 2232 | ||
2233 | static void airo_read_stats(struct net_device *dev) | 2233 | static void airo_read_stats(struct net_device *dev) |