summaryrefslogtreecommitdiffstats
path: root/gprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprs.c')
-rw-r--r--gprs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gprs.c b/gprs.c
index 26e0ea8..dcf688e 100644
--- a/gprs.c
+++ b/gprs.c
@@ -102,12 +102,12 @@ void ril_request_setup_data_call(RIL_Token t, void *data, int length)
/* create the structs with the username/password tuple */
ipc_gprs_pdp_context_setup(&(ril_state.gprs_context), 1, username, password);
+ ipc_gen_phone_res_expect_to_func(reqGetId(t), IPC_GPRS_DEFINE_PDP_CONTEXT,
+ ipc_gprs_pdp_context_complete);
+
/* send the struct to the modem */
ipc_fmt_send(IPC_GPRS_DEFINE_PDP_CONTEXT, IPC_TYPE_SET,
(void *) &setup_apn_message, sizeof(struct ipc_gprs_define_pdp_context), reqGetId(t));
-
- ipc_gen_phone_res_expect_to_func(reqGetId(t), IPC_GPRS_DEFINE_PDP_CONTEXT,
- ipc_gprs_pdp_context_complete);
}
void ipc_gprs_ip_configuration(struct ipc_message_info *info)