Bluetooth: Fix hci_le_conn_complete_evt
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 27 Jul 2012 18:10:11 +0000 (15:10 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:05:10 +0000 (15:05 -0300)
commitb9b343d25484bbceaee454ab422daafb1c5eda96
tree8d2ba6446a679cac0c894fc2a080ff1cb6ec8f09
parent230fd16a2333fef9c012b054a127c7d157f7a7af
Bluetooth: Fix hci_le_conn_complete_evt

We need to check the 'Role' parameter from the LE Connection
Complete Event in order to properly set 'out' and 'link_mode'
fields from hci_conn structure.

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