]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix updating background scan for LE connect complete
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Jul 2014 12:44:23 +0000 (15:44 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jul 2014 13:03:15 +0000 (15:03 +0200)
commitf2507b94640793a194def02dc1f2fce314e78e10
treee3744bdbab343b4c3ff269d5f46b53c90544e8d4
parent8bd91d4c6344e5bace67f8e1f9d8874c60bd729d
Bluetooth: Fix updating background scan for LE connect complete

When we get an LE connection complete event we should restart background
scanning if there are any devices needing it. So far the code was only
making the decision based on whether the completed connection had any
stored parameters or not. This patch ensures that we trigger background
scanning always when necessary.

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