Fix chx_recv_irq.

Fixes-commit: d2df891ba5
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka
2021-02-10 09:22:37 +09:00
parent bd8f39f3c9
commit bd66c51e35
2 changed files with 8 additions and 3 deletions

View File

@@ -460,7 +460,7 @@ chx_recv_irq (uint32_t irq_num)
break;
chx_spin_unlock (&q_intr.lock);
if (!ll_empty ((struct chx_qh *)p))
if (p != (struct chx_pq *)&q_intr.q)
{
struct chx_px *px = (struct chx_px *)p;