Bluetooth: Fix not setting a pending security level
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 25 Aug 2011 23:02:35 +0000 (20:02 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:59:15 +0000 (12:59 -0300)
commitfeb45eb5961b1c8c4f5e9559f48e513d2714b223
tree7305a9abb64d7af99d9d1e6538aed05c23979913
parenta492cd52b530cbcf42eb7349e6b435804a7a9271
Bluetooth: Fix not setting a pending security level

For slave initiated security, we should set a default security level,
for now BT_SECURITY_MEDIUM.

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