Bluetooth: Add white list lookup for incoming connection requests
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 09:59:19 +0000 (12:59 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 10:25:27 +0000 (12:25 +0200)
commita55bd29d522729e0cb125474396acdc2a107d4d9
treec2b0962f079f069065623d77f6d4344265258488
parent6cebb9e73a88a4ffea586a2bf2873c0901f4e912
Bluetooth: Add white list lookup for incoming connection requests

This patch adds support for looking up entries in the white list when
HCI_CONNECTABLE is not set. The logic is fairly simple: if we're
connectable check the black list, if we're not connectable check the
white list.

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