Hi Andre, > This patch adds a new parameter to mgmt_device_found() to inform > the length of 'eir' pointer. > > EIR data from LE advertising report event doesn't have a fixed length > as EIR data from extended inquiry result event does. We needed to > change mgmt_device_found() so it copies 'eir_len' bytes instead of > HCI_MAX_EIR_LENGTH. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_event.c | 9 +++++---- > net/bluetooth/mgmt.c | 7 +++++-- > 3 files changed, 11 insertions(+), 7 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> 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