commit | e8b1202ce6ab67341660812e7d66db4c3e2a5649 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Jul 10 10:51:27 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 10 10:02:35 2014 +0200 |
tree | 39d634b24ad66013fff9124bba658c808475b9ec | |
parent | c072d546c20390fea0e5332d00fd1b67366ca013 [diff] |
Bluetooth: Fix advertising parameter update when toggling connectable When we change the connectable state and have advertising enabled we should update the advertising parameters no matter what. The code was incorrectly only updating them if advertising was not already active. This patch fixes the issue. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>