mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
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:
@@ -318,6 +318,9 @@ static void telnet_check_ctrlchar(FAR struct telnet_dev_s *priv,
|
||||
*/
|
||||
|
||||
signo = SIGSTP;
|
||||
#ifndef CONFIG_TTY_SIGINT
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user