From b5c379c15eb599620b2b5fe28a827feef9eda1ad Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 31 Aug 2020 14:47:31 +0200 Subject: [PATCH] hfp: fix typo in hfp_link_settings_t, add none --- src/classic/hfp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/classic/hfp.h b/src/classic/hfp.h index 8a131ae91..a97458414 100644 --- a/src/classic/hfp.h +++ b/src/classic/hfp.h @@ -439,8 +439,9 @@ typedef enum { HFP_LINK_SETTINGS_S3, HFP_LINK_SETTINGS_S4, HFP_LINK_SETTINGS_T1, - HFP_LINK_SETTINGS_T2 -} hfp_link_setttings_t; + HFP_LINK_SETTINGS_T2, + HFP_LINK_SETTINGS_NONE, +} hfp_link_settings_t; typedef enum{ HFP_NONE_SM, @@ -556,7 +557,7 @@ typedef struct hfp_connection { uint8_t codec_confirmed; uint8_t sco_for_msbc_failed; - hfp_link_setttings_t link_setting; + hfp_link_settings_t link_setting; uint8_t trigger_codec_exchange; uint8_t establish_audio_connection;