Bluetooth: Don't distribute keys in case of Encryption Failure
authorHemant Gupta <hemant.gupta@stericsson.com>
Wed, 18 Apr 2012 09:16:26 +0000 (14:46 +0530)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:36 +0000 (01:40 -0300)
commit35d4adcca1707c551f4598f68fe83118dd82cd60
tree6dc676a5fcc755d78ca9252e398067bc3cffc8da
parentf4001d28464d92db5cae7702d65cf18162043a12
Bluetooth: Don't distribute keys in case of Encryption Failure

SMP Keys should only be distributeed when encryption is successful.

Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c