]> 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)
commit5b2e238b9d6db5daf4009b4a8af01acb4fdd1e98
treee3744bdbab343b4c3ff269d5f46b53c90544e8d4
parent01d2036e31db57c05b0562f9ff538be351a4486e
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