staging: rtl8723au: ODM_RF_CALIBRATION is never set
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 2 Mar 2015 20:24:47 +0000 (15:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:30 +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/rtl8723a_dm.c
drivers/staging/rtl8723au/include/odm.h

index 5969ee37f26f90d0bac471dd35a5f865490f6357..3a904fd4d200bc0ae23a54ad54a87939c8466cf7 100644 (file)
@@ -129,7 +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_RF_CALIBRATION;
+       pdmpriv->InitODMFlag = 0;
        /*  Pointer reference */
        rtl8723a_odm_support_ability_set(Adapter, DYNAMIC_ALL_FUNC_ENABLE);
 
index bf17262bc31aa18aef2e46c37ba483d32ea106b5..7d505cf018387b01595329ff827af97ef6fff3d0 100644 (file)
@@ -359,8 +359,6 @@ enum {
 
        /*  RF ODM section BIT 24-31 */
        ODM_RF_RX_GAIN_TRACK                    = BIT(25),
-       ODM_RF_CALIBRATION                      = BIT(26),
-
 };
 
 /*     ODM_CMNINFO_INTERFACE */