Re: [PATCH v1] Bluetooth: fix MGMT_EV_NEW_LONG_TERM_KEY event

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

 



Hi Jakub,

> This patch fixes how MGMT_EV_NEW_LONG_TERM_KEY event is build. Right now
> val vield is filled with only 1 byte, instead of whole value. This bug
> was introduced in
> commit 1fc62c526a57 ("Bluetooth: Fix exposing full value of shortened LTKs")
> 
> Before that patch, if you paired with device using bluetoothd using simple
> pairing, and then restarted bluetoothd, you would be able to re-connect,
> but device would fail to establish encryption and would terminate
> connection. After this patch connecting after bluetoothd restart works
> fine.
> 
> Signed-off-by: Jakub Pawlowski <jpawlowski@xxxxxxxxxx>
> ---
> net/bluetooth/mgmt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-stable 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