]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add address type to device blacklist table
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:13 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:21:28 +0000 (10:21 +0300)
commitfcc3c6b3c99045ba67dcb16d9cc6a9fe841b5d9d
tree2e11b6ad340c51745dc806750361ec73c63bf2d9
parent9edf0d5eb3b8333953ee0604806953abb571d855
Bluetooth: Add address type to device blacklist table

The device blacklist is not taking care of the address type. Actually
store the address type in the list entries and also use them when
looking up addresses in the table.

This is actually a serious bug. When adding a LE public address to
the blacklist, then it would be blocking a device on BR/EDR. And this
is not the expected behavior.

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