driver/serial/pty.c fix update local flags for the pty device attribute

Signed-off-by: gaojiawei <gaojiawei@xiaomi.com>
This commit is contained in:
gaojiawei 2023-05-09 14:58:02 +08:00 committed by Xiang Xiao
parent 8068dc0238
commit 64b51bbbf7

View File

@ -714,6 +714,7 @@ static int pty_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
dev->pd_iflag = termiosp->c_iflag;
dev->pd_oflag = termiosp->c_oflag;
dev->pd_lflag = termiosp->c_lflag;
ret = OK;
}
break;