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

2015-09-17 Thread Zheng, Wu
Hi Bruce Ashfield, Thanks. Best regards Zheng Wu -Original Message- From: Bruce Ashfield [mailto:bruce.ashfi...@windriver.com] Sent: Thursday, September 17, 2015 4:22 AM To: Zheng, Wu; linux-yocto@yoctoproject.org Subject: Re: [linux-yocto] [PATCH] Bluetooth: Delay check for conn->

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

2015-09-16 Thread Bruce Ashfield
On 15-09-15 05:10 AM, Wu Zheng wrote: 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

[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

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

2015-09-11 Thread wu . zheng
From: Wu Zheng 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 allow the

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

2015-09-11 Thread Wu Zheng
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 allow the independent actions to be done, i.e.