staging: rtl8723au: RSSI_test is never set
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 31 Jul 2014 08:36:41 +0000 (10:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 21:43:37 +0000 (14:43 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/odm_HWConfig.c
drivers/staging/rtl8723au/include/odm.h

index 409fde4ac4200d77d2b6cfeb99ed274e1bd50de1..29d844d66cae4457fc4c39faa74661814883fa03 100644 (file)
@@ -399,11 +399,8 @@ static void ODM_PhyStatusQuery23a_92CSeries(struct dm_odm_t *pDM_Odm,
 {
        odm_RxPhyStatus92CSeries_Parsing(pDM_Odm, pPhyInfo,
                                         pPhyStatus, pPktinfo);
-       if (pDM_Odm->RSSI_test) {
-               /*  Select the packets to do RSSI checking for antenna switching. */
-       } else {
-               odm_Process_RSSIForDM(pDM_Odm, pPhyInfo, pPktinfo);
-       }
+
+       odm_Process_RSSIForDM(pDM_Odm, pPhyInfo, pPktinfo);
 }
 
 void ODM_PhyStatusQuery23a(struct dm_odm_t *pDM_Odm, struct phy_info *pPhyInfo,
index 41dba628b1134fe7dead0a865ea99751158437c8..68ff7bbc6ad148415b7fcc130f2fcfbb33a9942a 100644 (file)
@@ -736,7 +736,6 @@ struct dm_odm_t {
        struct false_alarm_stats        FalseAlmCnt;
        struct false_alarm_stats        FlaseAlmCntBuddyAdapter;
        struct sw_ant_sw                DM_SWAT_Table;
-       bool            RSSI_test;
 
        struct edca_turbo               DM_EDCA_Table;
        u32             WMMEDCA_BE;