mgmt-tester: Make use of vhci_set_force_suspend/vhci_set_force_wakeup
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Oct 2021 00:45:41 +0000 (17:45 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commitfa0ffff3b203746e2f0f71a24183dc65052774bd
tree0868bbc167c541f9b6d560848e8230f4d9c5bbfa
parent290e79926ecb20c2e75d221fa651f8d1e7a663af
mgmt-tester: Make use of vhci_set_force_suspend/vhci_set_force_wakeup

This replaces the direct setting debugfs to use vhci instance which
properly stores the controller index so it can be used even if there
are real controllers in the system.

Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/hciemu.c
emulator/hciemu.h
tools/mgmt-tester.c