1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Move the unlock to after the ifdef (maybe the right fix is to remove

the ifdef) since it calls bwi_start_locked, which expects to the lock
to be held...
This commit is contained in:
Warner Losh 2009-06-01 16:29:03 +00:00
parent 7389f7db05
commit 07db17ce56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193238

View File

@ -4069,8 +4069,8 @@ bwi_restart(void *xsc, int pending)
if_printf(ifp, "%s begin, help!\n", __func__);
BWI_LOCK(sc);
bwi_init_statechg(xsc, 0);
BWI_UNLOCK(sc);
#if 0
bwi_start_locked(ifp);
#endif
BWI_UNLOCK(sc);
}