commit | c6d887aaf8f772fbe07604390975921ad3350a58 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Oct 14 16:20:07 2013 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Oct 14 06:48:08 2013 -0700 |
tree | 03b7005a0f90c6cc8cd53bb6b470d8ae9a34b15e | |
parent | 95c66e75baf34024213a779dac08f95e6b5aa6a4 [diff] |
Bluetooth: Fix updating advertising data needlessly We need to ensure that the advertising data is up-to-date whenever advertising is enabled, but when disabling advertising we do not need to worry about it (since it will eventually get fixed as soon as advertising is enabled again). This patch fixes this in the command complete callback for set_adv_enable. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>