]> git.baikalelectronics.ru Git - kernel.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)
commitc225b5c736c106d5e190145ffe07bae776354c14
tree02bd4f20262db74e45fdd431bf5e8d0c18cf314e
parent2b4f452c20c2e7fddb9e4e6e87bdd1b04ce0cdc8
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