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 9e0bf67c89
commit 3aeab935cd

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,