diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-19 22:38:18 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-20 18:05:40 +0200 |
commit | e8ba3a1f08d9386b6e4abe9b00c21e38029a76a4 (patch) | |
tree | 6cb40bfcc9b54c01c1c5996c212c5ab7b4ffe9ee /kernel/rtmutex_common.h | |
parent | Bluetooth: Add missing check for BREDR_ENABLED flag in update_class() (diff) | |
download | linux-e8ba3a1f08d9386b6e4abe9b00c21e38029a76a4.tar.xz linux-e8ba3a1f08d9386b6e4abe9b00c21e38029a76a4.zip |
Bluetooth: Refactor set_connectable settings update to separate function
We will need to directly update the device flags and notify user space
of the new settings not just when we're powered off but also if it turns
out that there are no HCI commands to send (which can happen in
particular when BR/EDR is disabled). Since this is a considerable amount
of code, refactor it to a separate function so it can be reused for the
"no HCI commands to send" case.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions