dm9000-use-delayed-work-to-update-mii-phy-state-fix
Subsystems (2)
PATCH 6/11 dm9000-use-delayed-work-to-update-mii-phy-state-fix
From: Andrew Morton <[email protected]>
use cancel_delayed_work_sync()
Cc Ben Dooks <[email protected]>
Cc Enrico Scholz <[email protected]>
Cc Jeff Garzik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/net/dm9000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dm9000.c renamed from drivers/net/dm9000.c~dm9000-use-delayed-work-to-update-mii-phy-state-fix +1 -1
@@ -903,7 +903,7 @@ dm9000_stop(struct net_device *ndev)if (netif_msg_ifdown (db))dev_dbg (db->dev,"shutting down %s\n" , ndev->name); -cancel_delayed_work (&db->phy_poll); +cancel_delayed_work_sync (&db->phy_poll);netif_stop_queue (ndev);netif_carrier_off (ndev);
_
Jeff Garzik
AppliedQuoted 4 lines · [email protected] wrote:
From: Andrew Morton <[email protected]>
use
cancel_delayed_work_sync()
Quoted 8 lines
Cc Ben Dooks <[email protected]>Cc Enrico Scholz <[email protected]>Cc Jeff Garzik <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/net/dm9000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied