[linux-yocto] FW: [PATCH] Bluetooth: Delay check for conn->smp in smp_conn_security()

2015-09-15 Thread Zheng, Wu
Hi all, I am sorry to send a few copies of this patch there. According to the original author request, the patch need to keep the original author info. Therefore, I modified the related comments, so that match the author request. Best Regards Zheng Wu >-Original Message- >From:

[linux-yocto] [PATCH] Bluetooth: Delay check for conn->smp in smp_conn_security()

2015-09-15 Thread Wu Zheng
From: Johan Hedberg There are several actions that smp_conn_security() might make that do not require a valid SMP context (conn->smp pointer). One of these actions is to encrypt the link with an existing LTK. If the SMP context wasn't initialized properly we should still