summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorJohan Hedberg2015-11-11 07:11:24 +0100
committerMarcel Holtmann2015-11-19 17:50:30 +0100
commit591752afbcc8179979296698cae698541d2e5431 (patch)
tree2d8f994e2bbb89e796ac7777ad2eeea0428dc3e6 /net/bluetooth/hci_core.c
parentBluetooth: Move LE scan disable/restart behind req_workqueue (diff)
downloadkernel-qcow2-linux-591752afbcc8179979296698cae698541d2e5431.tar.gz
kernel-qcow2-linux-591752afbcc8179979296698cae698541d2e5431.tar.xz
kernel-qcow2-linux-591752afbcc8179979296698cae698541d2e5431.zip
Bluetooth: Add discovery type validity helper
As preparation for moving the discovery HCI commands behind req_workqueue, add a helper and do the validity checks of the given discovery type before proceeding further. This way we don't need to do them again in hci_request.c. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions