Bluetooth: Add simultaneous dual mode scan
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 17 Mar 2015 16:04:14 +0000 (09:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 16:31:00 +0000 (18:31 +0200)
commit07d2334ae747772fc4426077340aa3efe499f50b
treea6d218d89270d7713d418ce44034691f101142b5
parent812abb13a97b7049c883ffb8431b81eb404a0938
Bluetooth: Add simultaneous dual mode scan

When doing scan through mgmt api, some controllers can do both le and
classic scan at same time. They can be distinguished by
HCI_QUIRK_SIMULTANEOUS_DISCOVERY set.

This patch enables them to use this feature when doing dual mode scan.
Instead of doing le, then classic scan, both scans are run at once.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c