Skip to contentSkip to conversation

dm9000-use-delayed-work-to-update-mii-phy-state-fix

PATCH Applied [email protected] 2 participants 2 messages May 14, 2008 – May 22, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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]>

---

 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
diff -puN drivers/net/dm9000.c~dm9000-use-delayed-work-to-update-mii-phy-state-fix drivers/net/dm9000.c
@@ -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);

_