]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: fix not setting security level when creating a rfcomm session
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Thu, 19 Aug 2010 11:06:10 +0000 (14:06 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 9 Nov 2010 02:56:10 +0000 (00:56 -0200)
commit63ce0900d79645c714de6c8b66d8040670068c9e
tree02bd4f20262db74e45fdd431bf5e8d0c18cf314e
parent4f8b691c9fb02e72359e71592098c1de3b8ec712
Bluetooth: fix not setting security level when creating a rfcomm session

This cause 'No Bonding' to be used if userspace has not yet been paired
with remote device since the l2cap socket used to create the rfcomm
session does not have any security level set.

Signed-off-by: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Acked-by: Ville Tervo <ville.tervo@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/core.c