Skip to content
Commit 759e510c authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Per Matias Edlund: I recently used the tcflush function and found that it...

Per Matias Edlund:  I recently used the tcflush function and found that it failed with ENOTTY. The reason is that the TCFLSH case in the function uart_ioctl in the file drivers/serial/serial.c does not update the ret value."  On success, the TCFLSH IOCTL logic needs to explicitly set the return value (ret) to zero.
parent e4d43e8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment