summaryrefslogtreecommitdiffstats
path: root/src/handsfree-audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handsfree-audio.c')
-rw-r--r--src/handsfree-audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c
index db65971a..b2d4b971 100644
--- a/src/handsfree-audio.c
+++ b/src/handsfree-audio.c
@@ -173,6 +173,8 @@ int ofono_handsfree_card_register(struct ofono_handsfree_card *card)
card, NULL))
return -EIO;
+ next_card_id += 1;
+
card->path = g_strdup(path);
emit_card_added(card);