summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2017-07-10 00:45:00 (GMT)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-07-10 00:45:00 (GMT)
commitce407f97aed0fdba65b5d881ef19cd7ee5e7abeb (patch)
tree8b6f7163cba1b24df10403abe6b3a64516bc19a0
parent980be86de63f9197ed02c1094f3d9b3b46bd1534 (diff)
parentea7972c912c1aad7ff18284116847740eb548c8c (diff)
downloadconnman-submit/tizen/20170710.074033.zip
connman-submit/tizen/20170710.074033.tar.gz
connman-submit/tizen/20170710.074033.tar.bz2
Merge "[Improvement]:Pass the same received RSSI from supplicant to Application." into tizensubmit/tizen/20170710.074100submit/tizen/20170710.074033accepted/tizen/unified/20170710.154658
-rwxr-xr-xplugins/wifi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 7b416fc..fd046e9 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2907,9 +2907,11 @@ static unsigned char calculate_strength(GSupplicantNetwork *supplicant_network)
unsigned char strength;
strength = 120 + g_supplicant_network_get_signal(supplicant_network);
+
+#if !defined TIZEN_EXT
if (strength > 100)
strength = 100;
-
+#endif
return strength;
}