]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6b8c00cc8ec48206a0c7b74311704f36f6fd2b6
tree8d2ba6446a679cac0c894fc2a080ff1cb6ec8f09
parentede3b33fbf8b34b78880eb9e6876aedccb5f89c8
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