Hi Marcel, On Thu, Jun 10, 2021 at 12:37 AM Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > > 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 <luiz.von.dentz@xxxxxxxxx> > > --- > > 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(-) > > I assume you accidentally send this again. Yep, it was stuck in my outbox for some reason. > > Regards > > Marcel > -- Luiz Augusto von Dentz