From ee27ba8eae2faddddb805ef95a49a7d155ac87fa Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Wed, 25 Oct 2000 23:36:45 +0000 Subject: Add a missing SK_UNLOCK() to sk_attach_xmac(). --- sys/dev/sk/if_sk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index d238e305a76a..bb0c414c7ab5 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); } -- cgit v1.3