]> git.karo-electronics.de Git - linux-beck.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)
commitb9ee0a783a928631bff1f0ea355bb9dc5deeaaf8
tree2e11b6ad340c51745dc806750361ec73c63bf2d9
parent041000b94276da0debf911494f0825571b2f26fb
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