]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btrsi: fix bt tx timeout issue
authorSanjay Kumar Konduri <sanjay.konduri@redpinesignals.com>
Mon, 3 Sep 2018 05:57:46 +0000 (11:27 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Sep 2018 10:53:40 +0000 (12:53 +0200)
commit9e87ea942601323cd7f2a6d408d6273d78a3c524
treee775d94b13116e49bcfe8c76209985eb9634f082
parent15d810ba2266e51d2d07f9dc7a7e682edd9a02c2
Bluetooth: btrsi: fix bt tx timeout issue

observed sometimes data is coming with unaligned address from kernel
BT stack. If unaligned address is passed, some data in payload is
stripped when packet is loading to firmware and this results, BT
connection timeout is happening.

sh# hciconfig hci0 up
Can't init device hci0: hci0 command 0x0c03 tx timeout

Fixed this by moving the data to aligned address.

Signed-off-by: Sanjay Kumar Konduri <sanjay.konduri@redpinesignals.com>
Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrsi.c