diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-05 12:01:06 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-05 12:03:38 +0200 |
commit | 2210246cf52bd60e8af452f8e184d1cb53e1e4b1 (patch) | |
tree | f016431f2467a004071621ac20f554aaf57d215f /net/bluetooth/a2mp.c | |
parent | Bluetooth: Add public mgmt function to send New Settings event (diff) | |
download | linux-2210246cf52bd60e8af452f8e184d1cb53e1e4b1.tar.xz linux-2210246cf52bd60e8af452f8e184d1cb53e1e4b1.zip |
Bluetooth: Fix re-enabling advertising after a connection
LE controllers will automatically disable advertising whenever they
accept a new connection. In order not to fall out of sync with the
advertising setting we need to re-enable advertising whenever the last
LE connection drops. A failure to re-enable advertising should cause the
setting to be disabled, so this patch also calls mgmt_new_settings()
when this happens.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/a2mp.c')
0 files changed, 0 insertions, 0 deletions