summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-04 15:52:07 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-04 15:52:07 +0300
commit0019156df63264bdb80131f947833cd2a1293994 (patch)
treedc2a9fa9f955a14566e8201b07f11a27aedf8f0c
parenta84298fe1f35def551af0dac290210edff2e45f9 (diff)
No need to call telephony_response_and_hold_ind in telephony_event_reporting_req because telephony_ready was added
-rw-r--r--audio/telephony-dummy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c
index 3bffd4db..6c003066 100644
--- a/audio/telephony-dummy.c
+++ b/audio/telephony-dummy.c
@@ -59,9 +59,6 @@ int telephony_event_reporting_req(int ind)
{
events_enabled = ind == 1 ? TRUE : FALSE;
- if (events_enabled)
- telephony_response_and_hold_ind(response_and_hold);
-
return 0;
}
@@ -76,7 +73,10 @@ int telephony_response_and_hold_req(int rh)
int telephony_init(void)
{
- telephony_ready(0, indicators, -1);
+ uint32_t features = 0;
+
+ telephony_ready(features, indicators, response_and_hold);
+
return 0;
}