diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-11-11 12:32:40 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-11-11 12:32:40 +0100 |
commit | d9622e4a4bcee8132ff3dfe89beed5399f3bdeb8 (patch) | |
tree | 60054b6342eb04620283cf7a9fcb56963dc5dd2e /samsung-ipc/ipc.c | |
parent | f722771a3837793c397d1db5075b8e8bd2906fed (diff) | |
download | hardware_replicant_libsamsung-ipc-d9622e4a4bcee8132ff3dfe89beed5399f3bdeb8.tar.gz hardware_replicant_libsamsung-ipc-d9622e4a4bcee8132ff3dfe89beed5399f3bdeb8.tar.bz2 hardware_replicant_libsamsung-ipc-d9622e4a4bcee8132ff3dfe89beed5399f3bdeb8.zip |
GPRS: Pass CID to activate/deactivate functions
Aries: Use CID to activate/deactivate the corresponding iface
Change-Id: Ifd153eda59404921bc6ea12d27f94d5aee7b06ff
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r-- | samsung-ipc/ipc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 14d52c3..e8afd94 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -404,24 +404,24 @@ int ipc_client_gprs_handlers_available(struct ipc_client *client) return 0; } -int ipc_client_gprs_activate(struct ipc_client *client) +int ipc_client_gprs_activate(struct ipc_client *client, int cid) { if (client == NULL || client->handlers == NULL || client->handlers->gprs_activate == NULL) return -1; - return client->handlers->gprs_activate(client->handlers->gprs_activate_data); + return client->handlers->gprs_activate(client->handlers->gprs_activate_data, cid); } -int ipc_client_gprs_deactivate(struct ipc_client *client) +int ipc_client_gprs_deactivate(struct ipc_client *client, int cid) { if (client == NULL || client->handlers == NULL || client->handlers->gprs_deactivate == NULL) return -1; - return client->handlers->gprs_deactivate(client->handlers->gprs_deactivate_data); + return client->handlers->gprs_deactivate(client->handlers->gprs_deactivate_data, cid); } char *ipc_client_gprs_get_iface(struct ipc_client *client, int cid) |