From 2e09c0002dee0bedb68a7ca3c3363e5f3338dfeb Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 29 Sep 2009 14:47:49 -0500 Subject: [PATCH] Add call volume atom to calypso plugin --- plugins/calypso.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/calypso.c b/plugins/calypso.c index 095414f..150801f 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -157,9 +158,6 @@ static void setup_modem(struct ofono_modem *modem) /* Disable deep sleep */ g_at_chat_send(data->chat, "AT%SLEEP=2", NULL, NULL, NULL, NULL); - - /* Set audio level to maximum */ - g_at_chat_send(data->chat, "AT+CLVL=255", NULL, NULL, NULL, NULL); } static void cfun_set_on_cb(gboolean ok, GAtResult *result, gpointer user_data) @@ -376,6 +374,7 @@ static void calypso_post_sim(struct ofono_modem *modem) ofono_call_meter_create(modem, 0, "atmodem", data->chat); ofono_call_barring_create(modem, 0, "atmodem", data->chat); ofono_ssn_create(modem, 0, "atmodem", data->chat); + ofono_call_volume_create(modem, 0, "atmodem", data->chat); mw = ofono_message_waiting_create(modem); if (mw) -- 2.7.4