summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-02-17 19:49:39 +0100
committerPaulK <contact@paulk.fr>2012-02-17 19:49:39 +0100
commita5448d0b11f149e5a384436643233760ec8f92d9 (patch)
tree49773be2fea9248af43e11d603dff64e7b139686 /net.c
parent3ccff4db7bd16493065f7bfbe3b7ba1902dec257 (diff)
downloadhardware_replicant_libsamsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.tar.gz
hardware_replicant_libsamsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.tar.bz2
hardware_replicant_libsamsung-ril-a5448d0b11f149e5a384436643233760ec8f92d9.zip
Fixed code according to libsamsung-ipc changes
Diffstat (limited to 'net.c')
-rw-r--r--net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.c b/net.c
index 1b15252..eb217c2 100644
--- a/net.c
+++ b/net.c
@@ -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(&regist_req, IPC_NET_SERVICE_DOMAIN_GSM);
+ ipc_net_regist_setup(&regist_req, IPC_NET_SERVICE_DOMAIN_GSM);
ipc_fmt_send(IPC_NET_REGIST, IPC_TYPE_GET, (void *)&regist_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(&regist_req, IPC_NET_SERVICE_DOMAIN_GPRS);
+ ipc_net_regist_setup(&regist_req, IPC_NET_SERVICE_DOMAIN_GPRS);
ipc_fmt_send(IPC_NET_REGIST, IPC_TYPE_GET, (void *)&regist_req, sizeof(struct ipc_net_regist_get), reqGetId(t));
} else {
LOGE("Another request is going on, returning UNSOL data");