linux/net/bluetooth
Ido Yariv fdde0a26a2 Bluetooth: Set security level on incoming pairing request
If a master would like to raise the security level, it will send a
pairing request. While the pending security level is set on an incoming
security request (from a slave), it is not set on a pairing request. As
a result, the security level would not be raised on the slave in such
case.

Fix this by setting the pending security when receiving pairing
requests according to the requested authorization.

Signed-off-by: Ido Yariv <ido@wizery.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2012-03-08 02:26:04 -03:00
..
bnep Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
cmtp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
hidp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
rfcomm Bluetooth: Fix using uninitialized variable 2012-03-08 02:20:22 -03:00
af_bluetooth.c Bluetooth: silence lockdep warning 2012-02-13 17:01:29 +02:00
hci_conn.c Bluetooth: Fix two minor style issues in HCI code 2012-02-23 13:06:58 +02:00
hci_core.c Bluetooth: fix conding style issues all over the tree 2012-03-08 02:02:26 -03:00
hci_event.c Bluetooth: fix conding style issues all over the tree 2012-03-08 02:02:26 -03:00
hci_sock.c Bluetooth: Remove HCI_PI_MGMT_INIT flag for sockets 2012-03-03 01:28:47 +02:00
hci_sysfs.c Bluetooth: Use proper datatypes in release-callbacks 2012-02-13 17:01:38 +02:00
Kconfig Bluetooth: Fix Kconfig help description 2012-02-29 18:50:25 +02:00
l2cap_core.c Bluetooth: fix conding style issues all over the tree 2012-03-08 02:02:26 -03:00
l2cap_sock.c Bluetooth: fix conding style issues all over the tree 2012-03-08 02:02:26 -03:00
lib.c Bluetooth: Add logging functions bt_info and bt_err 2012-02-17 11:33:17 +02:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
mgmt.c Bluetooth: fix conding style issues all over the tree 2012-03-08 02:02:26 -03:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Set security level on incoming pairing request 2012-03-08 02:26:04 -03:00