Fix misspelling of "truly" in a label.
A label reads 'truely_dead' rather than 'truly_dead'; this fixes it. No change in functionality. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
303863f43f
commit
a089377f29
@@ -2113,7 +2113,7 @@ typhoon_tx_timeout(struct net_device *dev)
|
|||||||
if(typhoon_reset(tp->ioaddr, WaitNoSleep) < 0) {
|
if(typhoon_reset(tp->ioaddr, WaitNoSleep) < 0) {
|
||||||
printk(KERN_WARNING "%s: could not reset in tx timeout\n",
|
printk(KERN_WARNING "%s: could not reset in tx timeout\n",
|
||||||
dev->name);
|
dev->name);
|
||||||
goto truely_dead;
|
goto truly_dead;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we ever start using the Hi ring, it will need cleaning too */
|
/* If we ever start using the Hi ring, it will need cleaning too */
|
||||||
@@ -2123,13 +2123,13 @@ typhoon_tx_timeout(struct net_device *dev)
|
|||||||
if(typhoon_start_runtime(tp) < 0) {
|
if(typhoon_start_runtime(tp) < 0) {
|
||||||
printk(KERN_ERR "%s: could not start runtime in tx timeout\n",
|
printk(KERN_ERR "%s: could not start runtime in tx timeout\n",
|
||||||
dev->name);
|
dev->name);
|
||||||
goto truely_dead;
|
goto truly_dead;
|
||||||
}
|
}
|
||||||
|
|
||||||
netif_wake_queue(dev);
|
netif_wake_queue(dev);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
truely_dead:
|
truly_dead:
|
||||||
/* Reset the hardware, and turn off carrier to avoid more timeouts */
|
/* Reset the hardware, and turn off carrier to avoid more timeouts */
|
||||||
typhoon_reset(tp->ioaddr, NoWait);
|
typhoon_reset(tp->ioaddr, NoWait);
|
||||||
netif_carrier_off(dev);
|
netif_carrier_off(dev);
|
||||||
|
Reference in New Issue
Block a user