Add a forgotten mutex_exit()/KUE_UNLOCK() to kue_init().

This commit is contained in:
wpaul 2000-11-23 05:58:48 +00:00
parent 9c3e0a9d85
commit 67bf5e7413

View File

@ -877,8 +877,10 @@ Static void kue_init(xsc)
KUE_LOCK(sc);
if (ifp->if_flags & IFF_RUNNING)
if (ifp->if_flags & IFF_RUNNING) {
KUE_UNLOCK(sc);
return;
}
/* Set MAC address */
kue_ctl(sc, KUE_CTL_WRITE, KUE_CMD_SET_MAC,