diff options
author | wpaul <wpaul@FreeBSD.org> | 2000-10-25 23:36:45 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2000-10-25 23:36:45 +0000 |
commit | 385109d266621a3c0f5501c28b46d32a772afc77 (patch) | |
tree | f8ef3d5571dd2f349c450d895fa473b5ac50cfd1 /sys/dev/sk | |
parent | c10c0d316a45c9730a7105518cf4a331ac748faa (diff) | |
download | FreeBSD-src-385109d266621a3c0f5501c28b46d32a772afc77.zip FreeBSD-src-385109d266621a3c0f5501c28b46d32a772afc77.tar.gz |
Add a missing SK_UNLOCK() to sk_attach_xmac().
Diffstat (limited to 'sys/dev/sk')
-rw-r--r-- | sys/dev/sk/if_sk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index d238e30..bb0c414 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -1113,6 +1113,7 @@ static int sk_attach_xmac(dev) default: printf("skc%d: unsupported PHY type: %d\n", sc->sk_unit, sc_if->sk_phytype); + SK_UNLOCK(sc); return(ENODEV); } |