From a51cb0dfd40d7c1a93af59c7b0f496ec1bede7f6 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 11 Feb 2016 16:06:27 +0100 Subject: [PATCH] hci_remote_eSCO_supported -> hci_remote_esco_supported --- src/classic/hfp_ag.c | 2 +- src/classic/hfp_hf.c | 2 +- src/hci.h | 2 +- tool/bt_flip_addr.cocci | 5 ----- tool/conversion_to_1.0.cocci | 12 ++++++++++++ 5 files changed, 15 insertions(+), 8 deletions(-) delete mode 100644 tool/bt_flip_addr.cocci create mode 100644 tool/conversion_to_1.0.cocci diff --git a/src/classic/hfp_ag.c b/src/classic/hfp_ag.c index 2958afd7a..e8145e889 100644 --- a/src/classic/hfp_ag.c +++ b/src/classic/hfp_ag.c @@ -602,7 +602,7 @@ static int codecs_exchange_state_machine(hfp_connection_t * context){ static void hfp_init_link_settings(hfp_connection_t * context){ // determine highest possible link setting context->link_setting = HFP_LINK_SETTINGS_D1; - if (hci_remote_eSCO_supported(context->con_handle)){ + if (hci_remote_esco_supported(context->con_handle)){ context->link_setting = HFP_LINK_SETTINGS_S3; if ((context->remote_supported_features & (1<link_setting = HFP_LINK_SETTINGS_D1; - if (hci_remote_eSCO_supported(context->con_handle)){ + if (hci_remote_esco_supported(context->con_handle)){ context->link_setting = HFP_LINK_SETTINGS_S3; if ((hfp_supported_features & (1<remote_supported_features & (1<