summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2011-09-15 18:34:35 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-09-09 01:05:47 -0500
commit4b2b707a30afa8da8a22d8a61b57627815aeb5af (patch)
tree06d77a5b75bc524d3401c1fb1e5c0d996f167386
parent5fa6344b92eee3c35d80a2ca69511c58b8a4d605 (diff)
downloadofono-4b2b707a30afa8da8a22d8a61b57627815aeb5af.tar.bz2
hfp_hf: add handsfree atom
-rw-r--r--plugins/hfp_hf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 6516e75d..322edf3f 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -41,6 +41,7 @@
#include <ofono/netreg.h>
#include <ofono/voicecall.h>
#include <ofono/call-volume.h>
+#include <ofono/handsfree.h>
#include <drivers/hfpmodem/slc.h>
@@ -469,6 +470,7 @@ static void hfp_pre_sim(struct ofono_modem *modem)
ofono_voicecall_create(modem, 0, "hfpmodem", &data->info);
ofono_netreg_create(modem, 0, "hfpmodem", &data->info);
ofono_call_volume_create(modem, 0, "hfpmodem", &data->info);
+ ofono_handsfree_create(modem, 0, "hfpmodem", &data->info);
}
static void hfp_post_sim(struct ofono_modem *modem)