OSDN Git Service

am 3a464232: am ee8592f4: am b7460434: Fix memory corruption of BLE whitelist hashmap
[android-x86/system-bt.git] / bta / gatt / bta_gattc_act.c
old mode 100755 (executable)
new mode 100644 (file)
index 8610b37..c6975c1
@@ -28,7 +28,6 @@
 #include <string.h>
 
 #include "bt_target.h"
-
 #include "bta_gattc_int.h"
 #include "bta_sys.h"
 #include "btif/include/btif_debug_conn.h"
@@ -120,7 +119,6 @@ static void bta_gattc_enable(tBTA_GATTC_CB *p_cb)
     }
 }
 
-
 /*******************************************************************************
 **
 ** Function         bta_gattc_disable
@@ -185,7 +183,6 @@ void bta_gattc_register(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data)
     tBTA_GATTC_INT_START_IF  *p_buf;
     tBTA_GATT_STATUS         status = BTA_GATT_NO_RESOURCES;
 
-
     APPL_TRACE_DEBUG("bta_gattc_register state %d",p_cb->state);
     memset(&cb_data, 0, sizeof(cb_data));
     cb_data.reg_oper.status = BTA_GATT_NO_RESOURCES;
@@ -772,7 +769,6 @@ void bta_gattc_close_fail(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data)
         cb_data.close.status    = BTA_GATT_ERROR;
         cb_data.close.reason    = BTA_GATT_CONN_NONE;
 
-
         (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CLOSE_EVT, &cb_data);
     }
 }
@@ -1463,7 +1459,6 @@ void bta_gattc_cfg_mtu_cmpl(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_OP_CMPL *p_data)
 
     utl_freebuf((void **)&p_clcb->p_q_cmd);
 
-
     if (p_data->p_cmpl  &&  p_data->status == BTA_GATT_OK)
         p_clcb->p_srcb->mtu  = p_data->p_cmpl->mtu;