43 lines
1.7 KiB
Diff
43 lines
1.7 KiB
Diff
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Thu, 31 Jul 2014 10:36:41 +0200
|
|
Subject: [244/249] staging: rtl8723au: RSSI_test is never set
|
|
Origin: https://git.kernel.org/linus/1a8dcde8d3ecf68924df3a5f6e38379b2b0a5415
|
|
|
|
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 | 7 ++-----
|
|
drivers/staging/rtl8723au/include/odm.h | 1 -
|
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/drivers/staging/rtl8723au/hal/odm_HWConfig.c b/drivers/staging/rtl8723au/hal/odm_HWConfig.c
|
|
index 409fde4..29d844d 100644
|
|
--- a/drivers/staging/rtl8723au/hal/odm_HWConfig.c
|
|
+++ b/drivers/staging/rtl8723au/hal/odm_HWConfig.c
|
|
@@ -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,
|
|
diff --git a/drivers/staging/rtl8723au/include/odm.h b/drivers/staging/rtl8723au/include/odm.h
|
|
index 41dba62..68ff7bb 100644
|
|
--- a/drivers/staging/rtl8723au/include/odm.h
|
|
+++ b/drivers/staging/rtl8723au/include/odm.h
|
|
@@ -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;
|