Bluetooth: Check for valid HCI UART driver flags
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Jul 2014 05:12:57 +0000 (07:12 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Jul 2014 10:59:47 +0000 (13:59 +0300)
commitbb72bd68fd87a4347b2a891ab16aac6014e69a00
treecd1ac7deca0eb2740da3ce811f9326820f78d22a
parent068d69e5bbd85291aa8ad0d81062f047609a173c
Bluetooth: Check for valid HCI UART driver flags

Providing unknown or invalid flags to the HCI UART driver should
result in an error. So check which flags are valid and otherwise
return an error.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_ldisc.c