GPRS: Pass CID to activate/deactivate IPC functions
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 11 Nov 2012 11:34:12 +0000 (12:34 +0100)
committerPaul Kocialkowski <contact@paulk.fr>
Sun, 11 Nov 2012 11:34:12 +0000 (12:34 +0100)
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
gprs.c

diff --git a/gprs.c b/gprs.c
index 0e053c7..a7a0c9d 100644 (file)
--- a/gprs.c
+++ b/gprs.c
@@ -550,7 +550,7 @@ int ipc_gprs_connection_enable(struct ril_gprs_connection *gprs_connection,
                (ip_configuration->dns2)[3]);   
 
        if(ipc_client_gprs_handlers_available(ipc_client)) {
-               rc = ipc_client_gprs_activate(ipc_client);
+               rc = ipc_client_gprs_activate(ipc_client, gprs_connection->cid);
                if(rc < 0) {
                        // This is not a critical issue
                        LOGE("Failed to activate interface!");
@@ -659,7 +659,7 @@ int ipc_gprs_connection_disable(struct ril_gprs_connection *gprs_connection)
        }
 
        if(ipc_client_gprs_handlers_available(ipc_client)) {
-               rc = ipc_client_gprs_deactivate(ipc_client);
+               rc = ipc_client_gprs_deactivate(ipc_client, gprs_connection->cid);
                if(rc < 0) {
                        // This is not a critical issue
                        LOGE("Failed to deactivate interface!");