commit | 591752afbcc8179979296698cae698541d2e5431 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Nov 11 08:11:24 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Nov 19 17:50:30 2015 +0100 |
tree | 2d8f994e2bbb89e796ac7777ad2eeea0428dc3e6 | |
parent | 7c1fbed23981faff2840ddc8909e7c78d80ade30 [diff] |
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>