Bluetooth: Introduce helpers for LE set scan start and complete
authorJaganath Kanakkassery <jaganath.k.os@gmail.com>
Fri, 6 Jul 2018 11:35:27 +0000 (17:05 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Jul 2018 20:41:17 +0000 (22:41 +0200)
commit3baef810462746cd5a085c1e1416829d2af2622d
tree1e972b2c7ef828d17d9a1e780db07abc8383c26e
parent1b0707a781eeaeeaacb464e18bb3f049b99b496b
Bluetooth: Introduce helpers for LE set scan start and complete

Introduce a helper hci_req_start_scan() which starts an LE
scan and call it from passive_Scan() and active_scan().
There is not functionality change in this patch.

This is basically done to enable extended scanning if the
controller supports which will be done in the subsequent
patch

Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c