Commit: d2e46966677bf5ad70fd42048c6008a31f3cfc60
Parent: 9ef2dbdeda75a83eea29f9209e4469f3d7c82aad
Author: Szymon Janc <szymon@janc.net.pl>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-01-25 09:47:30
Tree: a7d6066a72fa7dee1a8ca43518a806e8e4db19ce

tools: Fix glib assert in mgmt-tester if hci_vhci module is not loaded Print descriptive warning on HCI emulation setup failure and fail test gracefully. This is better comparing to glib assertion when not fully initialized HCI emulation is being unreferenced.

Diffstat

M src/shared/hciemu.c | 31 ++++++++++++++++++++++- - - - - - - - -
M tools/mgmt-tester.c | 4 ++++

2 files changed, 26 insertions(+), 9 deletions(-)

View Full Diff | Patch