diff options
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index e3e96bb2c246..a83a5621ec44 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1348,7 +1348,6 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1348 | if (rc) { | 1348 | if (rc) { |
1349 | ++dev->stats.tx_dropped; | 1349 | ++dev->stats.tx_dropped; |
1350 | netif_stop_queue(dev); | 1350 | netif_stop_queue(dev); |
1351 | rc = NETDEV_TX_OK; | ||
1352 | } else { | 1351 | } else { |
1353 | ++dev->stats.tx_packets; | 1352 | ++dev->stats.tx_packets; |
1354 | dev->stats.tx_bytes += skb->len; | 1353 | dev->stats.tx_bytes += skb->len; |
@@ -1358,7 +1357,7 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1358 | netif_stop_queue(dev); | 1357 | netif_stop_queue(dev); |
1359 | } | 1358 | } |
1360 | spin_unlock_irqrestore(&this->lock, flags); | 1359 | spin_unlock_irqrestore(&this->lock, flags); |
1361 | return rc; | 1360 | return NETDEV_TX_OK; |
1362 | } | 1361 | } |
1363 | 1362 | ||
1364 | static int wl3501_open(struct net_device *dev) | 1363 | static int wl3501_open(struct net_device *dev) |