diff options
Diffstat (limited to 'bta/hh/bta_hh_le.c')
-rw-r--r-- | bta/hh/bta_hh_le.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bta/hh/bta_hh_le.c b/bta/hh/bta_hh_le.c index 1e9f844dc..28d3897c0 100644 --- a/bta/hh/bta_hh_le.c +++ b/bta/hh/bta_hh_le.c @@ -31,7 +31,6 @@ #include "btm_api.h" #include "btm_ble_api.h" #include "btm_int.h" -#include "device/include/interop.h" #include "osi/include/log.h" #include "srvc_api.h" #include "stack/include/l2c_api.h" @@ -1833,7 +1832,6 @@ void bta_hh_w4_le_read_char_cmpl(tBTA_HH_DEV_CB *p_dev_cb, tBTA_HH_DATA *p_buf) { tBTA_GATTC_READ * p_data = (tBTA_GATTC_READ *)p_buf; UINT8 *pp ; - BD_NAME bdname; const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, p_data->handle); @@ -1875,12 +1873,7 @@ void bta_hh_w4_le_read_char_cmpl(tBTA_HH_DEV_CB *p_dev_cb, tBTA_HH_DATA *p_buf) tout = BTM_BLE_CONN_TIMEOUT_MIN_DEF; BTM_BleSetPrefConnParams (p_dev_cb->addr, min, max, latency, tout); - - if (!BTM_GetRemoteDeviceName(p_dev_cb->addr, bdname) || !*bdname || - (!interop_match_name(INTEROP_DISABLE_LE_CONN_PREFERRED_PARAMS, (const char*) bdname))) - { - L2CA_UpdateBleConnParams(p_dev_cb->addr, min, max, latency, tout); - } + L2CA_UpdateBleConnParams(p_dev_cb->addr, min, max, latency, tout); } else { |