aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model/WifiAccessPoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/model/WifiAccessPoint.java')
-rw-r--r--src/main/java/org/traccar/model/WifiAccessPoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/WifiAccessPoint.java b/src/main/java/org/traccar/model/WifiAccessPoint.java
index e28c1b935..64858f4c7 100644
--- a/src/main/java/org/traccar/model/WifiAccessPoint.java
+++ b/src/main/java/org/traccar/model/WifiAccessPoint.java
@@ -52,7 +52,7 @@ public class WifiAccessPoint {
}
public void setSignalStrength(Integer signalStrength) {
- this.signalStrength = signalStrength;
+ this.signalStrength = signalStrength > 0 ? -signalStrength : signalStrength;
}
private Integer channel;