diff options
-rw-r--r-- | drivers/net/wireless/orinoco.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 4d6373814b93..80cf6fba3798 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -536,6 +536,8 @@ static int orinoco_xmit(struct sk_buff *skb, struct net_device *dev) | |||
536 | return NETDEV_TX_OK; | 536 | return NETDEV_TX_OK; |
537 | 537 | ||
538 | busy: | 538 | busy: |
539 | if (err == -EIO) | ||
540 | schedule_work(&priv->reset_work); | ||
539 | orinoco_unlock(priv, &flags); | 541 | orinoco_unlock(priv, &flags); |
540 | return NETDEV_TX_BUSY; | 542 | return NETDEV_TX_BUSY; |
541 | } | 543 | } |