diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-07-31 04:36:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 17:43:37 -0400 |
commit | 1a8dcde8d3ecf68924df3a5f6e38379b2b0a5415 (patch) | |
tree | cd6639ea5c3a2bc34417518bb2478da958dc01ed | |
parent | 104cb5c0dd1494f193021e5d206f09aae668b523 (diff) |
staging: rtl8723au: RSSI_test is never set
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723au/hal/odm_HWConfig.c | 7 | ||||
-rw-r--r-- | 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 409fde4ac420..29d844d66cae 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, | |||
399 | { | 399 | { |
400 | odm_RxPhyStatus92CSeries_Parsing(pDM_Odm, pPhyInfo, | 400 | odm_RxPhyStatus92CSeries_Parsing(pDM_Odm, pPhyInfo, |
401 | pPhyStatus, pPktinfo); | 401 | pPhyStatus, pPktinfo); |
402 | if (pDM_Odm->RSSI_test) { | 402 | |
403 | /* Select the packets to do RSSI checking for antenna switching. */ | 403 | odm_Process_RSSIForDM(pDM_Odm, pPhyInfo, pPktinfo); |
404 | } else { | ||
405 | odm_Process_RSSIForDM(pDM_Odm, pPhyInfo, pPktinfo); | ||
406 | } | ||
407 | } | 404 | } |
408 | 405 | ||
409 | void ODM_PhyStatusQuery23a(struct dm_odm_t *pDM_Odm, struct phy_info *pPhyInfo, | 406 | 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 41dba628b113..68ff7bbc6ad1 100644 --- a/drivers/staging/rtl8723au/include/odm.h +++ b/drivers/staging/rtl8723au/include/odm.h | |||
@@ -736,7 +736,6 @@ struct dm_odm_t { | |||
736 | struct false_alarm_stats FalseAlmCnt; | 736 | struct false_alarm_stats FalseAlmCnt; |
737 | struct false_alarm_stats FlaseAlmCntBuddyAdapter; | 737 | struct false_alarm_stats FlaseAlmCntBuddyAdapter; |
738 | struct sw_ant_sw DM_SWAT_Table; | 738 | struct sw_ant_sw DM_SWAT_Table; |
739 | bool RSSI_test; | ||
740 | 739 | ||
741 | struct edca_turbo DM_EDCA_Table; | 740 | struct edca_turbo DM_EDCA_Table; |
742 | u32 WMMEDCA_BE; | 741 | u32 WMMEDCA_BE; |