From ffe9a8626affa95321dd721da262b812d0297aed Mon Sep 17 00:00:00 2001 From: Amir Patel Date: Thu, 28 Feb 2019 14:13:12 +0530 Subject: [PATCH] qcacmn: Fix compilation issue Add API parameter to dp_getrateindex to fix compilation issue Change-Id: I2d7f3a29051eb35d88c5699c21cf378bd7f280ff CRs-Fixed: 2397918 --- dp/wifi3.0/dp_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 46646652b460..0d14ede9f428 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -8107,8 +8107,10 @@ static void dp_set_vdev_dscp_tid_map_wifi3(struct cdp_vdev *vdev_handle, static int dp_txrx_get_ratekbps(int preamb, int mcs, int htflag, int gintval) { + uint32_t rix; + return dp_getrateindex((uint32_t)gintval, (uint16_t)mcs, 1, - (uint8_t)preamb, 1); + (uint8_t)preamb, 1, &rix); } #else static int dp_txrx_get_ratekbps(int preamb, int mcs,