]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add state to hci_chan
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:13 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:16:23 +0000 (00:16 -0200)
commit1bd898c7be244b9481e2e123e7810f01f05c70f2
tree9d2c169f1fb88c52391b3b4f267af1ed3ce0bf03
parentbdc6b3388c18b2647c86b378570b7fc3a9f449a5
Bluetooth: Add state to hci_chan

On an AMP controller, hci_chan maps to a logical link.  When a channel
is being moved, the logical link may or may not be connected already.
The hci_chan->state is used to determine the existance of a useable
logical link so the link can be either used or requested.

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 Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c