From 385109d266621a3c0f5501c28b46d32a772afc77 Mon Sep 17 00:00:00 2001 From: wpaul Date: Wed, 25 Oct 2000 23:36:45 +0000 Subject: Add a missing SK_UNLOCK() to sk_attach_xmac(). --- sys/pci/if_sk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/pci/if_sk.c') diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c index d238e30..bb0c414 100644 --- a/sys/pci/if_sk.c +++ b/sys/pci/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.1