diff options
author | imp <imp@FreeBSD.org> | 2009-06-01 16:29:03 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-06-01 16:29:03 +0000 |
commit | ec844753ab77ce3a6cf7b0b69da7fa78d55c2f48 (patch) | |
tree | d34050aa7b837e43d0eb90ad6e9e2226b5f542da /sys | |
parent | a7b978eee4b16658c1a3d968da1fea68fd58721c (diff) | |
download | FreeBSD-src-ec844753ab77ce3a6cf7b0b69da7fa78d55c2f48.zip FreeBSD-src-ec844753ab77ce3a6cf7b0b69da7fa78d55c2f48.tar.gz |
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...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/bwi/if_bwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c index de5ad45..dba7a7a 100644 --- a/sys/dev/bwi/if_bwi.c +++ b/sys/dev/bwi/if_bwi.c @@ -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); } |