Bluetooth: Refactor in hci_le_conn_complete_evt
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 27 Jul 2012 18:10:16 +0000 (15:10 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:08:41 +0000 (15:08 -0300)
commitcd17decbd9af41c9548bb108ccf156519f8253ec
tree784ec92b28fa9de6fae9f55451deed2dd9d6ec9f
parentb47a09b33a4612ace2958996ce6e0134be23d043
Bluetooth: Refactor in hci_le_conn_complete_evt

This patch moves the hci_conn check to begining of hci_le_conn_
complete_evt in order to improve code's readability and better
error handling.

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