diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2011-08-04 16:29:50 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-08-15 00:25:27 -0500 |
commit | 00018661864480419ffbc4072a4e8298a5e5e04b (patch) | |
tree | 889be27cc30248282afa68041cf2cca81321cca2 /src/voicecall.c | |
parent | 2867bf724d5578b607226279be80290ea2d46e1b (diff) | |
download | ofono-00018661864480419ffbc4072a4e8298a5e5e04b.tar.gz |
emulator: fix indicator notification
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 23976afa..168ce964 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -700,9 +700,6 @@ static void emulator_call_status_cb(struct ofono_atom *atom, void *data) struct ofono_emulator *em = __ofono_atom_get_data(atom); struct emulator_status *s = data; - if (em == s->vc->pending_em) - return; - ofono_emulator_set_indicator(em, OFONO_EMULATOR_IND_CALL, s->status); } @@ -711,9 +708,6 @@ static void emulator_callsetup_status_cb(struct ofono_atom *atom, void *data) struct ofono_emulator *em = __ofono_atom_get_data(atom); struct emulator_status *s = data; - if (em == s->vc->pending_em) - return; - ofono_emulator_set_indicator(em, OFONO_EMULATOR_IND_CALLSETUP, s->status); } @@ -723,9 +717,6 @@ static void emulator_callheld_status_cb(struct ofono_atom *atom, void *data) struct ofono_emulator *em = __ofono_atom_get_data(atom); struct emulator_status *s = data; - if (em == s->vc->pending_em) - return; - ofono_emulator_set_indicator(em, OFONO_EMULATOR_IND_CALLHELD, s->status); } @@ -3210,8 +3201,6 @@ static void emulator_dial_callback(const struct ofono_error *error, void *data) vc->pending_em = NULL; - notify_emulator_call_status(vc); - if (need_to_emit) voicecalls_emit_call_added(vc, v); } |