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)
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>

No differences found