Bluetooth: Guarantee BR-EDR device will be registered as hci0
authorMat Martineau <mathewm@codeaurora.org>
Wed, 2 Nov 2011 23:18:36 +0000 (16:18 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:25:04 +0000 (17:25 -0200)
commit08add513caa8930b8f7b9d5837a7dda624741745
tree08206e9a9dc45af78467cd7a38c65524144fcd6f
parent8d5a04a130e3493c17eae7a881102ab1a4283736
Bluetooth: Guarantee BR-EDR device will be registered as hci0

It's convenient to use the HCI device index the AMP controller id, but
the spec requires that an AMP controller never has id 0.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c