Bluetooth: Read number of supported IAC on controller setup
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 20:56:16 +0000 (13:56 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 14 Oct 2013 22:31:12 +0000 (19:31 -0300)
commitb4cb9fb25e9eae749f456e9e94446650389e736b
tree41fd0824bced1503b54963d52da8e29acfb4e16c
parent899e107577a8de67b97a877ed90bbfbfefb1916e
Bluetooth: Read number of supported IAC on controller setup

When initializing a controller make sure to read out the number of
supported IAC and store its result. This value is needed to determine
if limited discoverable for BR/EDR can be configured or not.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c