Re: [PATCH] Bluetooth: Fix Pair Device response parameters for pairing failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> It is possible that pairing fails after we've already received remote
> identity information. One example of such a situation is when
> re-encryption using the LTK fails. In this case the hci_conn object has
> already been updated with the identity address but user space does not
> yet know about it (since we didn't notify it of the new IRK yet).
> 
> To ensure user space doesn't get a Pair Device command response with an
> unknown address always use the same address in the response as was used
> for the original command.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> net/bluetooth/mgmt.c | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux