Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-09

Re: [PATCH v2] Bluetooth: HCI: Fix Set Extended (Scan Response) Data

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-06-09 19:23:08

Hi Luiz,
These command do have variable length and the length can go up to 251,
so this changes the struct to not use a fixed size and then when
creating the PDU only the actual length of the data send to the
controller.

Fixes: a0fb3726ba551 ("Bluetooth: Use Set ext adv/scan rsp data if
controller supports")
Signed-off-by: Luiz Augusto von Dentz <redacted>
---
include/net/bluetooth/hci.h      |  6 ++--
include/net/bluetooth/hci_core.h |  8 ++---
net/bluetooth/hci_request.c      | 51 ++++++++++++++++++--------------
3 files changed, 37 insertions(+), 28 deletions(-)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help