commit | 0c95ab78be36e56ca69e36bc679f9dfd3d25f31e | [log] [tgz] |
---|---|---|
author | Andre Guedes <andre.guedes@openbossa.org> | Fri Jul 27 15:10:14 2012 -0300 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Mon Aug 06 15:07:49 2012 -0300 |
tree | adbbd3ad1892db80756656385f148e15c8c6fa13 | |
parent | f00a06ac14becc3d78fecdf2513cc23ee267a96b [diff] |
Bluetooth: Find hci_conn by BT_CONNECT state This patch changes hci_cs_le_create_conn to perform hci_conn lookup by state instead of bdaddr. Since we can have only one LE connection in BT_CONNECT state, we can perform LE hci_conn lookup by state. This way, we don't rely on hci_sent_cmd_data helper to find the hci_conn object. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>