summaryrefslogtreecommitdiff
path: root/net/bluetooth/a2mp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-15 21:57:40 +0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-15 22:28:42 +0400
commitd1967ff88b3854d1bb002cccd15d28ad0d9223a9 (patch)
treed2f7b58e1b1350c7064d33ec3de2eadb3bb14988 /net/bluetooth/a2mp.c
parentefdcf8e3d716730d2212dfd973571a0ed00c9b10 (diff)
downloadlinux-d1967ff88b3854d1bb002cccd15d28ad0d9223a9.tar.xz
Bluetooth: Update class of device on discoverable timeout
When the discoverable timeout triggers and limited discoverable mode was used, then the class of device needs to be updated to remove the limited discoverable bit. To keep the class of device logic in a central place, expose a new function mgmt_discoverable_timeout that can be called from the timeout callback. In case the class of device value needs updating, it will add the HCI command to the transaction. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/a2mp.c')
0 files changed, 0 insertions, 0 deletions