summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/r8192E_hwimg.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-15 16:01:32 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-23 21:50:58 -0500
commitbca54c0184b3b3913ee9660f01e42ccb40abdac4 (patch)
treeaf24858ab03ca86923e0a22fe9b902a12c5c048a /drivers/staging/rtl8192e/r8192E_hwimg.h
parent66898177e7e5486dc77a4ba742efa4e2e9e900a4 (diff)
downloadop-kernel-dev-bca54c0184b3b3913ee9660f01e42ccb40abdac4.zip
op-kernel-dev-bca54c0184b3b3913ee9660f01e42ccb40abdac4.tar.gz
staging: rtl8192e: Fix compilation warnings
When the driver is compiled, the following messages result: CC [M] drivers/staging/rtl8192e/r8192E_phy.o drivers/staging/rtl8192e/r8192E_phy.c: In function ‘rtl8192_phy_ConfigRFWithHeaderFile’: drivers/staging/rtl8192e/r8192E_phy.c:791:25: warning: array subscript is above array bounds drivers/staging/rtl8192e/r8192E_phy.c:780:25: warning: array subscript is above array bounds Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/r8192E_hwimg.h')
-rw-r--r--drivers/staging/rtl8192e/r8192E_hwimg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_hwimg.h b/drivers/staging/rtl8192e/r8192E_hwimg.h
index 061a9c3..019836b 100644
--- a/drivers/staging/rtl8192e/r8192E_hwimg.h
+++ b/drivers/staging/rtl8192e/r8192E_hwimg.h
@@ -37,9 +37,9 @@ extern u32 Rtl8192PciEPHY_REG_1T2RArray[PHY_REG_1T2RArrayLengthPciE];
extern u32 Rtl8192PciERadioA_Array[RadioA_ArrayLengthPciE] ;
#define RadioB_ArrayLengthPciE 78
extern u32 Rtl8192PciERadioB_Array[RadioB_ArrayLengthPciE] ;
-#define RadioC_ArrayLengthPciE 1
+#define RadioC_ArrayLengthPciE 2
extern u32 Rtl8192PciERadioC_Array[RadioC_ArrayLengthPciE] ;
-#define RadioD_ArrayLengthPciE 1
+#define RadioD_ArrayLengthPciE 2
extern u32 Rtl8192PciERadioD_Array[RadioD_ArrayLengthPciE] ;
#define MACPHY_ArrayLengthPciE 18
extern u32 Rtl8192PciEMACPHY_Array[MACPHY_ArrayLengthPciE] ;
OpenPOWER on IntegriCloud