vhci: Read the controller index
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Oct 2021 21:38:34 +0000 (14:38 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commitd6e47625801a581c6381054e801f7eb27fe37c2c
tree56978052af930568362740fc64a7c660c668ece3
parent08c386c81042a5ba379ec15bed4385015af54388
vhci: Read the controller index

This makes vhci instance read its controller index assigned by the
kernel and also introduces vhci_get_btdev so it can be used by the
likes of hciemu.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/main.c
emulator/vhci.c
emulator/vhci.h