diff options
Diffstat (limited to 'gprs.c')
-rw-r--r-- | gprs.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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, |