diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-03-11 13:29:10 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-11 13:50:31 -0600 |
commit | 35478aedf6b22e8f8a6062598fd02c8358f5cf40 (patch) | |
tree | e44cfd571419b01c31fb1c7a3a11c45b57431cc8 | |
parent | a033b1338870534df21164b1104a75d3866ca76d (diff) | |
download | ofono-35478aedf6b22e8f8a6062598fd02c8358f5cf40.tar.bz2 |
voicecall: Move notification_ind registration
Should be before ofono_voicecall_register to be consistent
-rw-r--r-- | drivers/isimodem/voicecall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c index 69e778f4..92d98ab8 100644 --- a/drivers/isimodem/voicecall.c +++ b/drivers/isimodem/voicecall.c @@ -1776,15 +1776,15 @@ static void call_verify_cb(const GIsiMessage *msg, void *data) g_isi_client_ind_subscribe(ivc->client, CALL_TERMINATED_IND, isi_call_terminated_ind_cb, ovc); + g_isi_client_ind_subscribe(ivc->client, CALL_GSM_NOTIFICATION_IND, + notification_ind_cb, ovc); + if (!isi_call_status_req(ovc, CALL_ID_ALL, CALL_STATUS_MODE_ADDR_AND_ORIGIN, NULL, NULL)) DBG("Failed to request call status"); ofono_voicecall_register(ovc); - - g_isi_client_ind_subscribe(ivc->client, CALL_GSM_NOTIFICATION_IND, - notification_ind_cb, ovc); } static int probe_by_resource(struct ofono_voicecall *ovc, uint8_t resource, |