OSDN Git Service

android/daemon: Add logs to trace failed cmd
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 1 Nov 2013 15:19:19 +0000 (17:19 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 4 Nov 2013 07:33:19 +0000 (09:33 +0200)
android/adapter.c

index 0797aa0..6f2a061 100644 (file)
@@ -1572,6 +1572,8 @@ void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
        return;
 
 error:
+       error("Error handling command 0x%02x status %u", opcode, status);
+
        ipc_send_rsp(io, HAL_SERVICE_ID_BLUETOOTH, status);
 }