Fix kernel panic caused by double mss_unlock().

Noticed by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
This commit is contained in:
ariff 2005-11-07 09:25:15 +00:00
parent 4e5a83b4f4
commit 34af0d937d

View File

@ -807,7 +807,7 @@ mss_intr(void *arg)
served |= 0x20;
mss_unlock(mss);
chn_intr(mss->rch.channel);
mss_unlock(mss);
mss_lock(mss);
}
/* now ack the interrupt */
if (FULL_DUPLEX(mss)) ad_write(mss, 24, ~c); /* ack selectively */