summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2019-11-30 16:44:22 -0700
committerSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2019-11-30 17:01:06 -0700
commit250aee961fa9ab303e93f8802677daad96c56e4e (patch)
tree9e4f83c978c57e1c61094f948957b38c2de868fd
parent009d998c2261a3f96f0f72070728c0b27bd0cc4a (diff)
rmnetcli: Fix build error in uplinkparam
Fixes the following- rmnetctl/cli/rmnetcli.c:417:18: error: too few arguments to function call, expected 8, have 7 &error_number); ^ rmnetctl/inc/librmnetctl.h:652:1: note: 'rtrmnet_set_uplink_aggregation_params' declared here int rtrmnet_set_uplink_aggregation_params(rmnetctl_hndl_t *hndl, ^ CRs-Fixed: 2577221 Change-Id: I8a2906d0edae3d5265f82f6ba3b01a91c615d98d
-rw-r--r--rmnetctl/cli/rmnetcli.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rmnetctl/cli/rmnetcli.c b/rmnetctl/cli/rmnetcli.c
index f59c77b..4e249a0 100644
--- a/rmnetctl/cli/rmnetcli.c
+++ b/rmnetctl/cli/rmnetcli.c
@@ -227,7 +227,8 @@ static void rmnet_api_usage(void)
printf(_2TABS" <vnd id> string - vnd device_name");
printf(_2TABS" <packet count> int - maximum packet count");
printf(_2TABS" <byte count> int - maximum byte count");
- printf(_2TABS" <time limit> int - maximum time limit\n\n");
+ printf(_2TABS" <time limit> int - maximum time limit");
+ printf(_2TABS" <features> int - aggregation features\n\n");
printf("rmnetcli -n flowactivate <real dev> activate a flow\n");
printf(_2TABS" <vnd_name> string - vnd device name\n\n");
printf(_2TABS" <bearer_id> int - bearer id\n\n");
@@ -410,11 +411,12 @@ static int rmnet_api_call(int argc, char *argv[])
_RMNETCLI_CHECKNULL(argv[3]);
_RMNETCLI_CHECKNULL(argv[4]);
_RMNETCLI_CHECKNULL(argv[5]);
+ _RMNETCLI_CHECKNULL(argv[6]);
return_code = rtrmnet_set_uplink_aggregation_params(
handle, argv[1], argv[2], _STRTOUI8(argv[3]),
_STRTOUI16(argv[4]), _STRTOUI32(argv[5]),
- &error_number);
+ _STRTOUI8(argv[6]), &error_number);
}
else if (!strcmp(*argv, "flowactivate")) {
_RMNETCLI_CHECKNULL(argv[1]);