]> 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)
commitf66e7a5c72e46aee99f792a1e3a3752780cea18a
treeb075380a8f6d4184b818d0c06787356d25755a21
parent7218efd0c0b11d601281dbcf32daa37f64d7c57e
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