]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use helper functions for enabling/disabling advertising
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 09:55:21 +0000 (02:55 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 12:53:25 +0000 (14:53 +0200)
commit4e748927858f386c2a6c609e5004ca522edef32f
treea34dbb3ef87b373fab347aba5a8ad7b02d8ca53c
parentb72f8cd5768c9614a60edbcbf134f9a67b57672e
Bluetooth: Use helper functions for enabling/disabling advertising

The tasks of enabling and disabling advertising are required in many
cases. So refactor the actual HCI operations into two common helpers
to make the code simpler.

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