Sfoglia il codice sorgente

qcacmn: Fix compilation issue

Add API parameter to dp_getrateindex to fix compilation issue

Change-Id: I2d7f3a29051eb35d88c5699c21cf378bd7f280ff
CRs-Fixed: 2397918
Amir Patel 6 anni fa
parent
commit
ffe9a8626a
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      dp/wifi3.0/dp_main.c

+ 3 - 1
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,