Modify the return value properly 37/150537/1
authorinjun.yang <injun.yang@samsung.com>
Fri, 15 Sep 2017 08:57:28 +0000 (17:57 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 18 Sep 2017 01:04:30 +0000 (10:04 +0900)
Change-Id: Ic25f62ace73d679288a0511ff8da13f56870471d
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
ag-agent/bluetooth-ag-agent.c

index c5e3e2d..7cc6265 100644 (file)
@@ -887,7 +887,7 @@ bt_hfp_agent_error_t _bt_ag_agent_send_dtmf(const gchar *dtmf,
 
        if (dtmf == NULL || path == NULL || sender == NULL) {
                ERR("Invalid Argument");
-               return FALSE;
+               return BT_HFP_AGENT_ERROR_INVALID_PARAM;
        }
 
        DBG("Dtmf = %s", dtmf);