diff options
author | Zhenhua Zhang <zhenhua.zhang@intel.com> | 2009-10-28 19:01:24 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-28 17:33:33 -0500 |
commit | 4a36fc7c829aa92c097e4e6e9b7bb00dcb539faf (patch) | |
tree | 23aa510658594507dbd4a23444f6e7419f4c580e /plugins | |
parent | 57aaf9813f9a865ab31314e0cf9ad2b068e67592 (diff) | |
download | ofono-4a36fc7c829aa92c097e4e6e9b7bb00dcb539faf.tar.bz2 |
Add voicecall driver for Bluetooth HFP
HFP voicecall driver uses AT+CIEV indicator to notify call status
update according to Bluetooth HFP spec v1.5. This patch only adds single
call support.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/hfp.c b/plugins/hfp.c index 9733cfca..5e94a055 100644 --- a/plugins/hfp.c +++ b/plugins/hfp.c @@ -307,7 +307,10 @@ static int hfp_disable(struct ofono_modem *modem) static void hfp_pre_sim(struct ofono_modem *modem) { + struct hfp_data *data = ofono_modem_get_data(modem); + DBG("%p", modem); + ofono_voicecall_create(modem, 0, "hfpmodem", data); } static void hfp_post_sim(struct ofono_modem *modem) |