From 671f1aa2bc4ae3a024cb7e767ca67a16d7eb3055 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 8 Apr 2018 22:08:00 +0200 Subject: [PATCH] hfp: allow to use ag and hf at the same time (fix) --- src/classic/hfp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/classic/hfp.c b/src/classic/hfp.c index 7894e4fee..8ca228473 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -214,8 +214,10 @@ static void hfp_emit_event_for_context(hfp_connection_t * hfp_connection, uint8_ switch (hfp_connection->local_role){ case HFP_ROLE_HF: callback = hfp_hf_callback; + break; case HFP_ROLE_AG: callback = hfp_ag_callback; + break; default: return; }