Bluetooth: Remove unneeded extra ( ) in valid flags check
Marcel Holtmann
maintainerPATCH 1/4 Bluetooth: Remove unneeded extra ( ) in valid flags check
Signed-off-by Marcel Holtmann <[email protected]>
--- drivers/bluetooth/hci_ldisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/hci_ldisc.c +1 -1
@@ -499,7 +499,7 @@ static int hci_uart_set_flags(struct hci_uart *hu, unsigned long flags)BIT (HCI_UART_INIT_PENDING ) |BIT (HCI_UART_EXT_CONFIG ); -if ((flags & ~valid_flags)) +if (flags & ~valid_flags)return -EINVAL ; hu->hdev_flags = flags;
Signature · 1 line
2.1.0
Hi Marcel,
Quoted 4 lines · Marcel Holtmann
Signed-off-by Marcel Holtmann <[email protected]>--- drivers/bluetooth/hci_ldisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
All four patches have been applied to bluetooth-next. Thanks.
Johan