tools/mgmt-tester: Add callback routine for validating the parameter
authorTedd Ho-Jeong An <tedd.an@intel.com>
Sat, 10 Apr 2021 06:46:04 +0000 (23:46 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commita7d4cd9d58c67e9b3dfd7440403ae099d5df37a5
treeafbb235e02f84605ad7f1374026a17508839c474
parente19e5833684769d5863860015b27e0641467fce4
tools/mgmt-tester: Add callback routine for validating the parameter

This patch adds a callback routine for validating the received HCI
parameter, so it can customize to compare the parameters instead of
memcmp the full length.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c