staging: rtl8188eu: fix typos in macros
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>
This commit is contained in:
Родитель
fae4ab6b4b
Коммит
36a803d8c0
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче