summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SAP/src/sapChSelect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c
index 28a8141374d9..905dba37b491 100644
--- a/CORE/SAP/src/sapChSelect.c
+++ b/CORE/SAP/src/sapChSelect.c
@@ -743,8 +743,6 @@ v_U32_t sapweightRssiCount(v_S7_t rssi, v_U16_t count)
if(countWeight > SOFTAP_COUNT_WEIGHT)
countWeight = SOFTAP_COUNT_WEIGHT;
- else if (countWeight < 0)
- countWeight = 0;
rssicountWeight = rssiWeight + countWeight;