summaryrefslogtreecommitdiffstats
path: root/stack/mcap/mca_dact.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack/mcap/mca_dact.c')
-rw-r--r--stack/mcap/mca_dact.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stack/mcap/mca_dact.c b/stack/mcap/mca_dact.c
index 353153eb8..d147c3906 100644
--- a/stack/mcap/mca_dact.c
+++ b/stack/mcap/mca_dact.c
@@ -23,6 +23,7 @@
*
******************************************************************************/
#include "bt_target.h"
+#include "bt_utils.h"
#include "gki.h"
#include "mca_api.h"
#include "mca_int.h"
@@ -99,6 +100,8 @@ void mca_dcb_cong (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data)
*******************************************************************************/
void mca_dcb_free_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data)
{
+ UNUSED(p_dcb);
+
GKI_freebuf (p_data);
}
@@ -114,6 +117,8 @@ void mca_dcb_free_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data)
void mca_dcb_do_disconn (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data)
{
tMCA_CLOSE close;
+ UNUSED(p_data);
+
if ((p_dcb->lcid == 0) || (L2CA_DisconnectReq(p_dcb->lcid) == FALSE))
{
close.param = MCA_INT;