summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/hfpmodem.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2009-11-03 15:44:36 -0200
committerDenis Kenzior <denkenz@gmail.com>2009-11-03 11:49:35 -0600
commit1acd7f8b7554aa25bde673cdbd0360e899be0bec (patch)
treecd2ac434492716f498847036472b7bd26aa6e658 /drivers/hfpmodem/hfpmodem.c
parentff2a8e6f7c70d25d9fe13c37e5761e94830a8e8e (diff)
downloadofono-1acd7f8b7554aa25bde673cdbd0360e899be0bec.tar.bz2
Create network registration driver for hfpmodem
This driver handles phone informations about registration status, signal strength and roaming status listening +CIEV commands. It also gets the Network Operator name with +COPS commands.
Diffstat (limited to 'drivers/hfpmodem/hfpmodem.c')
-rw-r--r--drivers/hfpmodem/hfpmodem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hfpmodem/hfpmodem.c b/drivers/hfpmodem/hfpmodem.c
index 03b5ea03..58ae03d5 100644
--- a/drivers/hfpmodem/hfpmodem.c
+++ b/drivers/hfpmodem/hfpmodem.c
@@ -42,6 +42,7 @@
static int hfpmodem_init(void)
{
hfp_voicecall_init();
+ hfp_netreg_init();
return 0;
}
@@ -49,6 +50,7 @@ static int hfpmodem_init(void)
static void hfpmodem_exit(void)
{
hfp_voicecall_exit();
+ hfp_netreg_exit();
}
OFONO_PLUGIN_DEFINE(hfpmodem, "Hands-Free Profile Driver", VERSION,