Fix kernel panic caused by double mss_unlock().

Noticed by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
This commit is contained in:
Ariff Abdullah 2005-11-07 09:25:15 +00:00
parent cef93ad732
commit 238c5dc5c3

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 */