summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-10-23 14:05:30 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-10-24 10:32:19 -0400
commit91d35ec9b3956d6b3cf789c1593467e58855b03a (patch)
treea82634c908607148ed75013b809554b4d0c8ebec /tools/docs/parse-headers.py
parent751463ceefc3397566d03c8b64ef4a77f5fd88ac (diff)
Bluetooth: rfcomm: fix modem control handling
The RFCOMM driver confuses the local and remote modem control signals, which specifically means that the reported DTR and RTS state will instead reflect the remote end (i.e. DSR and CTS). This issue dates back to the original driver (and a follow-on update) merged in 2002, which resulted in a non-standard implementation of TIOCMSET that allowed controlling also the TS07.10 IC and DV signals by mapping them to the RI and DCD input flags, while TIOCMGET failed to return the actual state of DTR and RTS. Note that the bogus control of input signals in tiocmset() is just dead code as those flags will have been masked out by the tty layer since 2003. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions