Release driver lock at the end of the watchdog routine instead of trying to

acquire it again.

Submitted by:	bland
MFC after:	3 days
This commit is contained in:
John Baldwin 2009-03-23 17:51:07 +00:00
parent 569e2ef6a9
commit 1241692334

View File

@ -1700,7 +1700,7 @@ my_watchdog(struct ifnet * ifp)
my_init_locked(sc);
if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
my_start_locked(ifp);
MY_LOCK(sc);
MY_UNLOCK(sc);
return;
}