commit | 0ec5ae8438af02bf2295f08585d8ab49d15eaf2c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jul 08 15:07:50 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Jul 08 14:22:06 2014 +0200 |
tree | 1062fba29a1bce2278b70c79490334b9a29a5658 | |
parent | 5ce194c4a751ac603966dd1567b62035a7dfbf89 [diff] |
Bluetooth: Simplify usage of the enable_advertising function By adding support for disabling advertising when necessary and doing the checks for existing LE connections inside the enable_advertising function we can simplify the calling code quite a lot. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>