---
 drivers/stemodem/voicecall.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c
index 4a3a83d..3ca106e 100644
--- a/drivers/stemodem/voicecall.c
+++ b/drivers/stemodem/voicecall.c
@@ -356,7 +356,8 @@ static void ste_deflect(struct ofono_voicecall *vc,
                        ofono_voicecall_cb_t cb, void *data)
 {
        char buf[128];
-       unsigned int incoming_or_waiting = (0x1 << 4) | (0x1 << 5);
+       unsigned int incoming_or_waiting =
+               (0x1 << CALL_STATUS_INCOMING) | (0x1 << CALL_STATUS_WAITING);
 
        snprintf(buf, sizeof(buf), "AT+CTFR=\"%s\",%d", ph->number, ph->type);
        ste_template(buf, vc, ste_generic_cb, incoming_or_waiting, cb, data);
-- 
1.7.0.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to