Bluetooth: Reset the security level after an authentication failure
authorJohan Hedberg <johan.hedberg@nokia.com>
Fri, 18 Jun 2010 08:08:56 +0000 (11:08 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Jul 2010 23:35:27 +0000 (20:35 -0300)
commitda213f41cdd445d3df468f8fe7f24fe4f4c48508
tree958182b6a5fe75d733e2c29ff1f29598fbd97371
parente501d0553a7580fcc6654d7f58a5f061d31d00af
Bluetooth: Reset the security level after an authentication failure

When authentication fails for a connection the assumed security level
should be set back to BT_SECURITY_LOW so that subsequent connect
attempts over the same link don't falsely assume that security is
adequate enough.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c