Hi Michal,
Append maximum of 10 + 1 bytes of name to scan response data.
Complete name is appended only if exists and is <= 10 characters.
Else append short name if exists or shorten complete name if not.
This makes sure name is consistent across multiple advertising
instances.
Signed-off-by: Michał Narajowski <redacted>
---
net/bluetooth/hci_request.c | 49 +++++++++++++++++++++------------------------
net/bluetooth/hci_request.h | 2 ++
net/bluetooth/mgmt.c | 26 +++++++++++++++---------
3 files changed, 42 insertions(+), 35 deletions(-)
patch has been applied to bluetooth-stable tree.
Regards
Marcel