summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-02-01 17:40:21 +0100
committerPaulK <contact@paulk.fr>2012-02-01 17:40:21 +0100
commitfa06f4660184421b0cee4b00938508b3187ab704 (patch)
tree7b2c3623f46d9dca2ee094417467d752abdbc9a4
parent1dd4f9775e43c26e9422223570d313b788a8fe26 (diff)
downloadhardware_ril_samsung-ril-fa06f4660184421b0cee4b00938508b3187ab704.zip
hardware_ril_samsung-ril-fa06f4660184421b0cee4b00938508b3187ab704.tar.gz
hardware_ril_samsung-ril-fa06f4660184421b0cee4b00938508b3187ab704.tar.bz2
Modified gprs.c to match libsamsung-ipc changes
-rw-r--r--gprs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gprs.c b/gprs.c
index 75f0c66..26e0ea8 100644
--- a/gprs.c
+++ b/gprs.c
@@ -33,9 +33,6 @@
#define INTERFACE "rmnet0"
#define IP_STRING_SIZE 15 + 1
-// TODO: Put this in libsamsung-ipc headers
-extern void ipc_gprs_define_pdp_context_setup(struct ipc_gprs_define_pdp_context *message, char *apn);
-
// libnetutils missing prototype
extern int ifc_configure(const char *ifname,
in_addr_t address,
@@ -103,7 +100,7 @@ void ril_request_setup_data_call(RIL_Token t, void *data, int length)
ipc_gprs_define_pdp_context_setup(&setup_apn_message, apn);
/* create the structs with the username/password tuple */
- ipc_gprs_pdp_context_setup(&(ril_state.gprs_context), username, password);
+ ipc_gprs_pdp_context_setup(&(ril_state.gprs_context), 1, username, password);
/* send the struct to the modem */
ipc_fmt_send(IPC_GPRS_DEFINE_PDP_CONTEXT, IPC_TYPE_SET,