From 1260acef8f88099c2d9f56dcbe593b3b5ce31670 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 22 Oct 2023 17:51:15 +0100 Subject: [PATCH] rtl88x2CS: Fix enum-conversion error Fixes the following: ../ETC/8822cs_intermediates/hal/rtl8822c/sdio/rtl8822cs_ops.c:30:21: error: implicit conversion from enumeration type 'enum halmac_rx_agg_mode' to different enumeration type 'RX_AGG_MODE' (a ka 'enum _RX_AGG_MODE') [-Werror,-Wenum-conversion] phal->rxagg_mode = HALMAC_RX_AGG_MODE_DMA; ~ ^~~~~~~~~~~~~~~~~~~~~~ Change-Id: I39488a1357206cc0ab834522b3d43cc4a4d78960 --- rtl88x2CS/hal/rtl8822c/sdio/rtl8822cs_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl88x2CS/hal/rtl8822c/sdio/rtl8822cs_ops.c b/rtl88x2CS/hal/rtl8822c/sdio/rtl8822cs_ops.c index 6038c2c..cfaced6 100644 --- a/rtl88x2CS/hal/rtl8822c/sdio/rtl8822cs_ops.c +++ b/rtl88x2CS/hal/rtl8822c/sdio/rtl8822cs_ops.c @@ -27,7 +27,7 @@ static void intf_chip_configure(PADAPTER adapter) phal = GET_HAL_DATA(adapter); #ifdef RTW_RX_AGGREGATION - phal->rxagg_mode = HALMAC_RX_AGG_MODE_DMA; + phal->rxagg_mode = RX_AGG_DMA; phal->rxagg_dma_size = 0xff; phal->rxagg_dma_timeout= 0x20; #endif -- 2.20.1