Commit: a23239f591d70c68b9fce449294bc1154969de10
Parent: 9e9f079e8952bc29e3fa0f9dc8dfbad19c3edcc8
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-03-08 18:11:49
Tree: 6e6e7ad50b6176f915671819e40bfa1082d25230

mgmt-tester: Fix eir name length related tests According to Section 1.2 of Core Specification Supplement Part A the complete or short name strings are defined as utf8s, which should not include the trailing NULL for variable length array as defined in Core Specification Vol1 Part E Section 2.9.3. This patch remove the trailing NULL in expected packets, and update the lengths accordingly, to be in sync with Kernel patch "Bluetooth: Fix eir name length"

Diffstat

M tools/mgmt-tester.c | 66 ++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 32 insertions(+), 34 deletions(-)

View Full Diff | Patch