Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41533fe5 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg
Browse files

Bluetooth: Remove unneeded extra ( ) in valid flags check

parent c3370de6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;