diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-05-14 16:20:12 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 06:03:28 -0400 |
commit | 5bceeda3253d9ea6a38e2e918362a2610677f9c0 (patch) | |
tree | 552c355c672d63e6ded477f142331388f3d3f0bf /drivers/net | |
parent | d494eacde8858f9b53f5c640692caf14eb3c8239 (diff) | |
download | kernel_samsung_smdk4412-5bceeda3253d9ea6a38e2e918362a2610677f9c0.zip kernel_samsung_smdk4412-5bceeda3253d9ea6a38e2e918362a2610677f9c0.tar.gz kernel_samsung_smdk4412-5bceeda3253d9ea6a38e2e918362a2610677f9c0.tar.bz2 |
[netdrvr] dm9000: use delayed work to update mii phy state fix
use cancel_delayed_work_sync()
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/dm9000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index d45bcd2..864295e 100644 --- a/drivers/net/dm9000.c +++ b/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); |