From: Andre Guedes Date: Fri, 27 Jul 2012 18:10:14 +0000 (-0300) Subject: Bluetooth: Find hci_conn by BT_CONNECT state X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~319^2^2~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c95ab78be36e56ca69e36bc679f9dfd3d25f31e;p=pandora-kernel.git 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 Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed