diff options
-rw-r--r-- | include/radio.h | 1 | ||||
-rw-r--r-- | samsung-ipc/device/aries/aries_ipc.c | 1 | ||||
-rw-r--r-- | samsung-ipc/device/crespo/crespo_ipc.c | 1 | ||||
-rw-r--r-- | samsung-ipc/device/h1/h1_ipc.c | 1 | ||||
-rw-r--r-- | samsung-ipc/device/xmm6260/xmm6260_ipc.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/include/radio.h b/include/radio.h index c107dba..82960f8 100644 --- a/include/radio.h +++ b/include/radio.h @@ -43,6 +43,7 @@ struct ipc_message_info { unsigned char aseq; unsigned char group; unsigned char index; + unsigned short cmd; unsigned char type; unsigned int length; unsigned char *data; diff --git a/samsung-ipc/device/aries/aries_ipc.c b/samsung-ipc/device/aries/aries_ipc.c index 3e60134..790b34a 100644 --- a/samsung-ipc/device/aries/aries_ipc.c +++ b/samsung-ipc/device/aries/aries_ipc.c @@ -497,6 +497,7 @@ int aries_ipc_fmt_client_recv(struct ipc_client *client, struct ipc_message_info response->group = resphdr->group; response->index = resphdr->index; response->type = resphdr->type; + response->cmd = IPC_COMMAND(response); response->length = resphdr->length - sizeof(struct ipc_header); response->data = NULL; diff --git a/samsung-ipc/device/crespo/crespo_ipc.c b/samsung-ipc/device/crespo/crespo_ipc.c index 576fd92..34a2000 100644 --- a/samsung-ipc/device/crespo/crespo_ipc.c +++ b/samsung-ipc/device/crespo/crespo_ipc.c @@ -411,6 +411,7 @@ int crespo_ipc_fmt_client_recv(struct ipc_client *client, struct ipc_message_inf response->group = resphdr->group; response->index = resphdr->index; response->type = resphdr->type; + response->cmd = IPC_COMMAND(response); response->length = modem_data.size - sizeof(struct ipc_header); response->data = NULL; diff --git a/samsung-ipc/device/h1/h1_ipc.c b/samsung-ipc/device/h1/h1_ipc.c index ca7fd6a..c416e80 100644 --- a/samsung-ipc/device/h1/h1_ipc.c +++ b/samsung-ipc/device/h1/h1_ipc.c @@ -163,6 +163,7 @@ int h1_ipc_recv(struct ipc_client *client, struct ipc_message_info *response) response->group = ipc->group; response->index = ipc->index; response->type = ipc->type; + response->type = IPC_COMMAND(response); response->length = (ipc->length - sizeof(*ipc)); response->data = (unsigned char*)malloc(response->length); diff --git a/samsung-ipc/device/xmm6260/xmm6260_ipc.c b/samsung-ipc/device/xmm6260/xmm6260_ipc.c index 5f4aad1..8364ffc 100644 --- a/samsung-ipc/device/xmm6260/xmm6260_ipc.c +++ b/samsung-ipc/device/xmm6260/xmm6260_ipc.c @@ -117,6 +117,7 @@ int xmm6260_ipc_fmt_client_recv(struct ipc_client *client, struct ipc_message_in response->group = ipc.group; response->index = ipc.index; response->type = ipc.type; + response->cmd = IPC_COMMAND(response); response->length = ipc.length - sizeof(ipc); response->data = (unsigned char*)malloc(response->length); |