OSDN Git Service

Bluetooth: Fix initial security level of LE links
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 9 Jun 2011 21:50:50 +0000 (18:50 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:22 +0000 (11:59 -0700)
commit403d2c85b1bcbdac6bd90945f16b1ea975cbac38
treef6b29c8e2068a69140917866472475f32e6ef443
parenta5474a8d5ad4b2426c41012c63030fd789a047a3
Bluetooth: Fix initial security level of LE links

As the default security level (BT_SECURITY_SDP) doesn't make sense for
LE links, initialize LE links with something that makes sense.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c