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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:18:11 +0000 (12:18 -0800)
commitcd1d9cf74ede5209173c97280b08fe1c22323832
tree34ce9ec8406cc4ef58709d0f6f3d12f81435e2d9
parent5a47806424d0271327a1fd38e0ffe0f70cdc8586
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