Merged in masayuki2009/nuttx.nuttx/fix_telnet_driver (pull request #819)

drivers/net/telnet.c: Add config to avoid a garbage character when not supported.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2019-01-19 12:43:21 +00:00 committed by GregoryN
parent bf2014cc67
commit 69652bf9f2

View File

@ -1028,7 +1028,9 @@ static int telnet_session(FAR struct telnet_session_s *session)
psock_close(psock);
#ifdef CONFIG_TELNET_SUPPORT_NAWS
telnet_sendopt(priv, TELNET_DO, TELNET_NAWS);
#endif
/* Return the path to the new telnet driver */