Bluetooth: hci_ldisc: Fix tty_set_termios() return value assumptions
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 9 Mar 2023 08:20:30 +0000 (10:20 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:50:55 +0000 (21:50 -0700)
commit586e154f98ac826233c2be5dc80e101303b4b2bd
tree34f98f37ceb5ec6bbe57dec7175e28f2da10ed02
parent7c2b2d2d0cb658aa543e11e90ae95621d3cb5fe6
Bluetooth: hci_ldisc: Fix tty_set_termios() return value assumptions

tty_set_termios() never returns anything else than 0. Make the debug
prints to look directly into the new termios instead to check CRTSCTS
state.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_ldisc.c