]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Remove unneeded code
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 27 Jul 2012 18:10:12 +0000 (15:10 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:05:51 +0000 (15:05 -0300)
commit847012c5e04544aef485dfec29c1c07dc90615a4
treefc29aa74043ad65cbc629dccf8816e18f4749360
parentb9b343d25484bbceaee454ab422daafb1c5eda96
Bluetooth: Remove unneeded code

This patch removes some unneeded code from hci_cs_le_create_conn.

If the hci_conn is not found, it means this LE connection attempt
was triggered by a thrid-party tool (e.g. hcitool). We should not
create this new hci_conn in LE Create Connection command status
event since it is already properly handled in LE Connection
Complete event.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c