Re: [PATCH v3 2/2] Bluetooth: hci_ldisc: Add NULL check for tiocmget() and tiocmset() in hci_uart_set_flow_control()

2019-07-06 Thread Marcel Holtmann
Hi Myungho, > tiocmget() or tiocmset() operations are optional. Just return from > hci_uart_set_flow_control() if tiocmget() or tiocmset() operation is > NULL. > > Fixes: 2a973dfada2b ("hci_uart: Add new line discipline enhancements") > Cc: # 4.2 > Signed-off-by: Myungho Jung > --- > Changes

[PATCH v3 2/2] Bluetooth: hci_ldisc: Add NULL check for tiocmget() and tiocmset() in hci_uart_set_flow_control()

2019-02-04 Thread Myungho Jung
tiocmget() or tiocmset() operations are optional. Just return from hci_uart_set_flow_control() if tiocmget() or tiocmset() operation is NULL. Fixes: 2a973dfada2b ("hci_uart: Add new line discipline enhancements") Cc: # 4.2 Signed-off-by: Myungho Jung --- Changes in v2: - Remove braces in if