svn commit: r193238 - head/sys/dev/bwi
Warner Losh
imp at FreeBSD.org
Mon Jun 1 16:29:04 UTC 2009
Author: imp
Date: Mon Jun 1 16:29:03 2009
New Revision: 193238
URL: http://svn.freebsd.org/changeset/base/193238
Log:
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...
Modified:
head/sys/dev/bwi/if_bwi.c
Modified: head/sys/dev/bwi/if_bwi.c
==============================================================================
--- head/sys/dev/bwi/if_bwi.c Mon Jun 1 16:27:13 2009 (r193237)
+++ head/sys/dev/bwi/if_bwi.c Mon Jun 1 16:29:03 2009 (r193238)
@@ -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);
}
More information about the svn-src-head
mailing list