summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/headset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index cfd8b079..b71b4faa 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1398,6 +1398,9 @@ static void send_foreach_headset(GSList *devices,
static int cli_cmp(struct headset *hs)
{
+ if (!hs->hfp_active)
+ return -1;
+
if (hs->cli_active)
return 0;
else