summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2021-09-24 23:07:07 +0200
committerStefan Roese <[email protected]>2021-10-01 11:07:13 +0200
commit99a3d02370b6b526594ee73eb26d39e8d8ced8d3 (patch)
tree6e0a38737770af1451084464cf6b645fbe2c2f16 /include/linux
parent93b55636b09faaa0ab809d4110a07dfd982a48b6 (diff)
tools: kwboot: Check whether baudrate was set to requested value
The tcsetattr() function can return 0 even if baudrate was not changed. Check whether baudrate was changed to requested value, and in case of arbitrary baudrate, check whether the set value is within 3% tolerance. Signed-off-by: Marek BehĂșn <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions