drivers/telnet: Stop the loop if SIGSTP char is match and SIGINT not enabled

Change-Id: I78510616e68330b0171230ca0e081c0d702a6f42
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-02-10 23:05:17 +08:00
committed by patacongo
parent 7ec66ccf94
commit d68693f74c
+3
View File
@@ -318,6 +318,9 @@ static void telnet_check_ctrlchar(FAR struct telnet_dev_s *priv,
*/ */
signo = SIGSTP; signo = SIGSTP;
#ifndef CONFIG_TTY_SIGINT
break;
#endif
} }
#endif #endif
} }