commit | 376f54c171674ac1f9a2eefe67d413db4836d25a | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jul 08 15:07:52 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Jul 08 14:22:06 2014 +0200 |
tree | 746218aeca34afc9ae824ef8f826da7352b7b5e4 | |
parent | 73e082f80d990c017c695a6750f7ac96cdc6308a [diff] |
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>