]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: Rework function ODM_AntennaDiversityInit_88E()
authornavin patidar <navin.patidar@gmail.com>
Sat, 20 Sep 2014 14:25:52 +0000 (19:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:47:12 +0000 (23:47 -0700)
Rename CamelCase function name.
Remove unnecessary debugging messages.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm.c
drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
drivers/staging/rtl8188eu/include/odm_RTL8188E.h

index ae983796fd63799ea4af87b080bc2f97732916b4..bc891e9cf35d8bc2b6565b54934fbe88d515cd5e 100644 (file)
@@ -1265,7 +1265,7 @@ void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm)
                return;
        }
 
-       ODM_AntennaDiversityInit_88E(pDM_Odm);
+       rtl88eu_dm_antenna_div_init(pDM_Odm);
 }
 
 void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm)
index 68d0235bcf44262e632b542ab438df17c4bd6801..74105b5e6d616f2a2e3ac03bbe166d294192f4b9 100644 (file)
@@ -174,11 +174,8 @@ static void dm_fast_training_init(struct odm_dm_struct *dm_odm)
        phy_set_bb_reg(adapter, 0xc50, BIT7, 1);
 }
 
-void ODM_AntennaDiversityInit_88E(struct odm_dm_struct *dm_odm)
+void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm)
 {
-       ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, ("dm_odm->AntDivType=%d\n", dm_odm->AntDivType));
-       ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, ("dm_odm->bIsMPChip=%s\n", (dm_odm->bIsMPChip ? "true" : "false")));
-
        if (dm_odm->AntDivType == CGCS_RX_HW_ANTDIV)
                dm_rx_hw_antena_div_init(dm_odm);
        else if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV)
index 02ac78d326d2b681e0a7bdc7ba8dd6c17a3ddfd5..7ef8c361df0298a26654ec4b6b9790f8c4b8a76d 100644 (file)
@@ -29,7 +29,7 @@
 
 void ODM_DIG_LowerBound_88E(struct odm_dm_struct *pDM_Odm);
 
-void ODM_AntennaDiversityInit_88E(struct odm_dm_struct *pDM_Odm);
+void rtl88eu_dm_antenna_div_init(struct odm_dm_struct *dm_odm);
 
 void ODM_AntennaDiversity_88E(struct odm_dm_struct *pDM_Odm);