staging: rtl8188eu: fix typos in macros
authorSebastian Haas <sehaas@deebas.com>
Sat, 4 Mar 2017 22:06:33 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 17:19:07 +0000 (18:19 +0100)
Rename macro definition and usage to represent correct spelling of DEFAULT:
ODM_REG_RX_DEFUALT_A_11N => ODM_REG_RX_DEFAULT_A_11N
ODM_REG_RX_DEFUALT_B_11N => ODM_REG_RX_DEFAULT_B_11N

Signed-off-by: Sebastian Haas <sehaas@deebas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
drivers/staging/rtl8188eu/include/odm_RegDefine11N.h

index 55056ffec078e21d556d447e9bc0c3bbb4ffd752..91e0f6cee8f4092d14431542c83c4e055bc9e024 100644 (file)
@@ -81,9 +81,9 @@ static void dm_trx_hw_antenna_div_init(struct odm_dm_struct *dm_odm)
 
        /* antenna mapping table */
        if (!dm_odm->bIsMPChip) { /* testchip */
-               phy_set_bb_reg(adapter, ODM_REG_RX_DEFUALT_A_11N,
+               phy_set_bb_reg(adapter, ODM_REG_RX_DEFAULT_A_11N,
                               BIT(10) | BIT(9) | BIT(8), 1);
-               phy_set_bb_reg(adapter, ODM_REG_RX_DEFUALT_A_11N,
+               phy_set_bb_reg(adapter, ODM_REG_RX_DEFAULT_A_11N,
                               BIT(13) | BIT(12) | BIT(11), 2);
        } else { /* MPchip */
                phy_set_bb_reg(adapter, ODM_REG_ANT_MAPPING1_11N, bMaskDWord,
index c82c09013487b3f8123428bad1de1b7129fa278b..f46f7d43ce0009917cd2c6be6fd9e338f2d90cc9 100644 (file)
@@ -41,8 +41,8 @@
 #define        ODM_REG_TX_ANT_CTRL_11N                 0x80C
 #define        ODM_REG_BB_PWR_SAV5_11N                 0x818
 #define        ODM_REG_CCK_RPT_FORMAT_11N              0x824
-#define        ODM_REG_RX_DEFUALT_A_11N                0x858
-#define        ODM_REG_RX_DEFUALT_B_11N                0x85A
+#define        ODM_REG_RX_DEFAULT_A_11N                0x858
+#define        ODM_REG_RX_DEFAULT_B_11N                0x85A
 #define        ODM_REG_BB_PWR_SAV3_11N                 0x85C
 #define        ODM_REG_ANTSEL_CTRL_11N                 0x860
 #define        ODM_REG_RX_ANT_CTRL_11N                 0x864