mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
staging: rtl8723bs: hal: remove duplicate check
Remove 'bPerformance' from if condition check. As on previous if condition it is already check for same variable. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/YWKRfYpTioAmTWa0@user Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a1f42cba65
commit
98f668b30e
@@ -544,7 +544,7 @@ void odm_DIG(void *pDM_VOID)
|
||||
/* 1 Adjust initial gain by false alarm */
|
||||
if (pDM_Odm->bLinked && bPerformance) {
|
||||
|
||||
if (bFirstTpTarget || (FirstConnect && bPerformance)) {
|
||||
if (bFirstTpTarget || FirstConnect) {
|
||||
pDM_DigTable->LargeFAHit = 0;
|
||||
|
||||
if (pDM_Odm->RSSI_Min < DIG_MaxOfMin) {
|
||||
|
||||
Reference in New Issue
Block a user