summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-24 15:11:31 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-24 15:11:31 +0300
commit6813a4d8d8ca7dc3d341f56a830fa90dadb90269 (patch)
tree1665ee1656cb82f0afeeb126e4069df1d57a155c
parentbd4e4d5971cd4beeadb1abfc4503f137dbf76e17 (diff)
Don't set the ring timer twice
-rw-r--r--audio/headset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index f5cb986d..443ca2c6 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -2449,6 +2449,8 @@ int telephony_incoming_call_ind(const char *number, int type)
}
hs->pending_ring = TRUE;
+
+ return 0;
}
ring_timer_cb(NULL);