Add a missing SK_UNLOCK() to sk_attach_xmac().

This commit is contained in:
Bill Paul 2000-10-25 23:36:45 +00:00
parent d2041924cd
commit ee27ba8eae
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}