]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove dead code for manufacturer inquiry mode quirks
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 3 Jan 2015 07:35:18 +0000 (23:35 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 3 Jan 2015 20:31:08 +0000 (22:31 +0200)
commit38173393aa16cd101db9df8b62a66a15ece501d1
treeb075380a8f6d4184b818d0c06787356d25755a21
parentc8c9e7d3a9a533b85e77b299fa760f3011b5ebb3
Bluetooth: Remove dead code for manufacturer inquiry mode quirks

There are some old Bluetooth modules from Silicon Wave and Broadcom
which support Inquiry Result with RSSI, but do not advertise it. The
core has quirks in the code to enable that inquiry mode. However as
it stands right now, that code is not even executed since entering
the function to determine which inquiry mode requires that the device
has the feature bit for Inquiry Result with RSSI set in the first
place. So this makes this dead code that hasn't work for a long
time.

In conclusion, just remove these extra quirks and simplify the setup
of the inquiry mode to be inline and with that a lot easier to read
and understand.

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