Bluetooth: Ignore ADV_DIRECT_IND attempts from unknown devices
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 23 Jul 2014 19:55:22 +0000 (21:55 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 23 Jul 2014 21:37:20 +0000 (00:37 +0300)
commitcd4d5671385ba0c6355e013512ea6d06b1ebce02
treea4ec0268579f2acf4871466650662c526d3ee973
parentf4fe73ed564b1c0c375481cb7a773b03767b0216
Bluetooth: Ignore ADV_DIRECT_IND attempts from unknown devices

Unconditionally connecting to devices sending ADV_DIRECT_IND when
the controller is in CONNECTABLE mode is a feature that is not
fully working. The background scanning trigger for this has been
removed, but the statement allowing it to happen in case some
other part triggers is still present. So remove that code part
as well to avoid unwanted connections.

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