summaryrefslogtreecommitdiff
path: root/kernel/network/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/network/tcp.c')
-rw-r--r--kernel/network/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/network/tcp.c b/kernel/network/tcp.c
index dd6e6a8..1a3641b 100644
--- a/kernel/network/tcp.c
+++ b/kernel/network/tcp.c
@@ -54,7 +54,7 @@ void tcp_wait_reply(struct TcpConnection *con) {
if (con->unhandled_packet) {
return;
}
- wait_for_interrupt();
+ switch_task();
}
}