]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Stop advertising always before initiating a connection
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 8 Jul 2014 12:07:52 +0000 (15:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 8 Jul 2014 12:22:06 +0000 (14:22 +0200)
commit19723457b122e3a1499979a084f761a12046b377
tree746218aeca34afc9ae824ef8f826da7352b7b5e4
parent4f7b1c188087d09d67d234bc96b0215ef3ba4468
Bluetooth: Stop advertising always before initiating a connection

Most controllers do not support advertising while initiating an LE
connection. We also have to first disable current advertising if the
initiation is going to happen through direct advertising. Therefore,
simply stop advertising as the first thing when starting to issue
commands to establish an LE connection.

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