]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Don't try to reject failed LE connections
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 15 Jul 2014 08:51:28 +0000 (11:51 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 15 Jul 2014 08:59:30 +0000 (10:59 +0200)
commitff7de79bdd2541ab682ee8ff7e1c8f6936cad285
tree2537a66f6f51ab282ec12203a6e231d0f2a02cf0
parent6ab99fda34b69265098f87acdf207b7f734e8a73
Bluetooth: Don't try to reject failed LE connections

The check for the blacklist in hci_le_conn_complete_evt() should be when
we know that we have an actual successful connection (ev->status being
non-zero). This patch fixes this ordering.

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