]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Add timeout field to mgmt_set_discoverable
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Nov 2011 20:16:02 +0000 (22:16 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 20:26:55 +0000 (18:26 -0200)
commitf2dcb4a4335566d6bfc79f89df4b7edfad1122de
tree9266bb78e7beedfbf08160a3309349d927b5ac7f
parent0663ddcced9d6cf9611bafa0d7736efd1dbd2e16
Bluetooth: Add timeout field to mgmt_set_discoverable

Based on the revised mgmt API set_discoverable has a timeout parameter
to specify how long the adapter will remain discoverable. A value of 0
means "indefinitively".

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c