From fbbe8a1cb4c421e9658c5009ecfab6845137587b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 7 Aug 2022 19:16:15 +0200 Subject: driver/ps2: prepare for mouse support --- src/kernel/arch/amd64/driver/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/driver/serial.c') diff --git a/src/kernel/arch/amd64/driver/serial.c b/src/kernel/arch/amd64/driver/serial.c index 1401642..d8ee90b 100644 --- a/src/kernel/arch/amd64/driver/serial.c +++ b/src/kernel/arch/amd64/driver/serial.c @@ -47,7 +47,7 @@ void serial_irq(void) { ring_put1b((void*)&backlog, port_in8(COM1)); if (blocked_on) { accept(blocked_on); - blocked_on = NULL; + blocked_on = blocked_on->postqueue_next; vfs_backend_tryaccept(&backend); } } -- cgit v1.2.3