drivers/pty: Support get and set local mode of pty

Signed-off-by: xuwenjie <xuwenjie1@xiaomi.com>
This commit is contained in:
xuwenjie 2023-03-24 10:47:35 +08:00 committed by Xiang Xiao
parent e374f327c1
commit 4af8927829
1 changed files with 1 additions and 1 deletions

View File

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