be2net: Use cancel_delayed_work_sync instead of cancel_delayed_work()
authorSathya Perla <sathyap@serverengines.com>
Wed, 10 Jun 2009 02:18:35 +0000 (02:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2009 09:47:15 +0000 (02:47 -0700)
commitb305be78a044c5f6a9d146229a280d08db0c630a
treef047ec1f8a5c9999d5870e58a6b0b2b0de2f58ad
parentc0feed87fe452c20681ae29909adaecedd1ec9f3
be2net: Use cancel_delayed_work_sync instead of cancel_delayed_work()

Use cancel_delayed_work_sycn instead of cancel_delayed_work() to reliably kill be_worker() as it rearms itself.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c