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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 19:05:34 +0000 (16:05 -0300)
commit7b5c0d5242295a3b52e7161bf129e2f0e8c624cb
tree8e96d9d23dcac8813ee4efcce48b6781ac7a9092
parentf1cb9af557dd8fb5d98fbcc4b5d3eb9d6d235af7
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