summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sk.c')
-rw-r--r--sys/pci/if_sk.c1
1 files changed, 1 insertions, 0 deletions
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);
}
OpenPOWER on IntegriCloud