]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 3 Nov 2011 14:29:24 +0000 (12:29 -0200)
commitda2c0cb3d97e76afc7945a1bfacb9188115beb02
tree0510e0c8fa5fae46f08b1cde54775a1a4e499f27
parent68410a176f043db6287faeeff1c02987477e1794
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