mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
Add a missing SK_UNLOCK() to sk_attach_xmac().
This commit is contained in:
parent
d2041924cd
commit
ee27ba8eae
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue