Hello all, This patch adds proper error code and message for memory allocations errors in hcitool program. Comments are welcome. tools/hcitool.c | 72 +++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 48 insertions(+), 24 deletions(-) -- Luiz Fernando N. Capitulino