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>
Tue, 8 Nov 2011 14:54:09 +0000 (12:54 -0200)
commit16ab91ab48287aa4fc757f3618820f728ee4412f
tree9266bb78e7beedfbf08160a3309349d927b5ac7f
parent89352e7d3ab372ffad8efe2aa070e0b63df42b85
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