diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-01-05 09:34:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-06 15:04:56 +0100 |
commit | 27aad6cef4b54f8fa8ea5cf0ef8acf2aa8058992 (patch) | |
tree | 7a8dc13029fc5bf98bc542861c7598307b603957 /drivers/staging/r8188eu/include/rtl8188e_hal.h | |
parent | 2c02b728b648bab403fc9316fc984b5eab643395 (diff) | |
download | linux-stable-27aad6cef4b54f8fa8ea5cf0ef8acf2aa8058992.tar.gz linux-stable-27aad6cef4b54f8fa8ea5cf0ef8acf2aa8058992.tar.bz2 linux-stable-27aad6cef4b54f8fa8ea5cf0ef8acf2aa8058992.zip |
staging: r8188eu: make BW20_24G_Diff a 1-D array
Make BW20_24G_Diff a one-dimensional array. This driver uses only
BW20_24G_Diff[0].
Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220105083426.177128-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index e748bdcbd867..8134a173ea07 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -182,7 +182,7 @@ struct hal_data_8188e { u8 Index24G_BW40_Base[CHANNEL_MAX_NUMBER]; /* If only one tx, only BW20 and OFDM are used. */ s8 OFDM_24G_Diff[MAX_TX_COUNT]; - s8 BW20_24G_Diff[RF_PATH_MAX][MAX_TX_COUNT]; + s8 BW20_24G_Diff[MAX_TX_COUNT]; /* HT 20<->40 Pwr diff */ u8 TxPwrHt20Diff[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; |