]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Use helper function for re-enabling advertising
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 11:08:14 +0000 (04:08 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 13:00:07 +0000 (15:00 +0200)
commit5976e60811723220678ebdb2ea06fbb52fe900bd
tree847ee9b60a023863d4315ad94f8246e3a6230c4f
parentb4faf30096c3deb618392a88feaa7674cd55c257
Bluetooth: Use helper function for re-enabling advertising

When the all LE connections have been disconneted, then it is up to
the host to re-enable advertising at that point. To ensure that the
correct advertising parameters are used, force the usage of the
common helper to enable advertising.

The change just moves the manual enabling of advertising from the
event handler into the management core so that the helper can
be actually shared.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c