Add a missing SK_UNLOCK() to sk_attach_xmac().
This commit is contained in:
parent
d2041924cd
commit
ee27ba8eae
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user