diff options
author | PaulK <contact@paulk.fr> | 2012-02-17 19:49:39 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2012-02-17 19:49:39 +0100 |
commit | a5448d0b11f149e5a384436643233760ec8f92d9 (patch) | |
tree | 49773be2fea9248af43e11d603dff64e7b139686 | |
parent | 3ccff4db7bd16493065f7bfbe3b7ba1902dec257 (diff) | |
download | hardware_ril_samsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.zip hardware_ril_samsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.tar.gz hardware_ril_samsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.tar.bz2 |
Fixed code according to libsamsung-ipc changes
-rw-r--r-- | gprs.c | 6 | ||||
-rw-r--r-- | net.c | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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) @@ -447,7 +447,7 @@ void ril_request_registration_state(RIL_Token t) /* Request data to the modem */ ril_state.tokens.registration_state = t; - ipc_net_regist_get(®ist_req, IPC_NET_SERVICE_DOMAIN_GSM); + ipc_net_regist_setup(®ist_req, IPC_NET_SERVICE_DOMAIN_GSM); ipc_fmt_send(IPC_NET_REGIST, IPC_TYPE_GET, (void *)®ist_req, sizeof(struct ipc_net_regist_get), reqGetId(t)); } else { LOGE("Another request is going on, returning UNSOL data"); @@ -500,7 +500,7 @@ void ril_request_gprs_registration_state(RIL_Token t) /* Request data to the modem */ ril_state.tokens.gprs_registration_state = t; - ipc_net_regist_get(®ist_req, IPC_NET_SERVICE_DOMAIN_GPRS); + ipc_net_regist_setup(®ist_req, IPC_NET_SERVICE_DOMAIN_GPRS); ipc_fmt_send(IPC_NET_REGIST, IPC_TYPE_GET, (void *)®ist_req, sizeof(struct ipc_net_regist_get), reqGetId(t)); } else { LOGE("Another request is going on, returning UNSOL data"); |