]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: ODM_BB_CCK_PD is always set
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 2 Mar 2015 20:24:44 +0000 (15:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:29 +0000 (09:54 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/odm.c
drivers/staging/rtl8723au/hal/rtl8723a_dm.c
drivers/staging/rtl8723au/include/odm.h

index 5d72ec71782681906da18d7d5ebce4e2ae01f9b9..307773570741e45dbd2088edc169006b58dc12d7 100644 (file)
@@ -853,9 +853,6 @@ void odm_CCKPacketDetectionThresh23a(struct dm_odm_t *pDM_Odm)
        struct false_alarm_stats *FalseAlmCnt = &pDM_Odm->FalseAlmCnt;
        u8 CurCCK_CCAThres;
 
-       if (!(pDM_Odm->SupportAbility & ODM_BB_CCK_PD))
-               return;
-
        if (pDM_Odm->ExtLNA)
                return;
 
index 93b76bd1785e597298c8f4241c5811e1a124f47a..4053171931736c9281844158f5cf9a14b4953af7 100644 (file)
@@ -129,8 +129,7 @@ static void Update_ODM_ComInfo_8723a(struct rtw_adapter *Adapter)
        struct dm_odm_t *pDM_Odm = &pHalData->odmpriv;
        struct dm_priv  *pdmpriv = &pHalData->dmpriv;
        int i;
-       pdmpriv->InitODMFlag =  ODM_BB_CCK_PD           |
-                               ODM_BB_PWR_SAVE         |
+       pdmpriv->InitODMFlag =  ODM_BB_PWR_SAVE         |
                                ODM_RF_TX_PWR_TRACK     |
                                ODM_RF_CALIBRATION;
        /*  Pointer reference */
index 783b8fed22617892bd6af2011b5558be38c58d50..e57472bdc699e414bc7faa2751a4856dd1d35ab1 100644 (file)
@@ -347,7 +347,6 @@ enum odm_cmninfo {
 /*  Define ODM support ability.  ODM_CMNINFO_ABILITY */
 enum {
        /*  BB ODM section BIT 0-15 */
-       ODM_BB_CCK_PD                           = BIT(5),
        ODM_BB_ANT_DIV                          = BIT(6),
        ODM_BB_PWR_SAVE                         = BIT(7),
        ODM_BB_PWR_TRAIN                        = BIT(8),