OSDN Git Service

DO NOT MERGE ANYWHERE implement wakelocks on bt adapter init am: ef1f356866 -s ours
[android-x86/system-bt.git] / stack / gatt / gatt_attr.c
index a7fe82c..130ed3f 100644 (file)
@@ -388,20 +388,12 @@ static void gatt_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGA
 **
 *******************************************************************************/
 static void gatt_cl_op_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op,
-                                           tGATT_STATUS status, tGATT_CL_COMPLETE *p_data)
+                                   tGATT_STATUS status, tGATT_CL_COMPLETE *p_data)
 {
-    tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_conn_id(conn_id);
-
-    if (p_clcb == NULL)
-        return;
-
-    if (op == GATTC_OPTYPE_WRITE)
-    {
-        GATT_TRACE_DEBUG("%s() - ccc write status : %d", __FUNCTION__, status);
-    }
-
-    /* free the connection */
-    gatt_config_ccc_complete (p_clcb);
+    UNUSED(conn_id);
+    UNUSED(op);
+    UNUSED(status);
+    UNUSED(p_data);
 }
 
 /*******************************************************************************