]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0e102a57a3a6bc47f0e46a4fa608ab91c973cab
tree784ec92b28fa9de6fae9f55451deed2dd9d6ec9f
parent2dd4b02a37e71e9b02ffa6e0beb15cc0955d5867
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