From ea7972c912c1aad7ff18284116847740eb548c8c Mon Sep 17 00:00:00 2001 From: Maneesh Jain Date: Fri, 7 Jul 2017 14:34:50 +0530 Subject: [Improvement]:Pass the same received RSSI from supplicant to Application. Description: Earlier, connMan was modified the RSSI value received from supplicant using following formula. if (strength > 100) strength = 100; Change-Id: Ifa4fb2be6f65224046274835c9ae26a81fae2e69 Signed-off-by: Maneesh Jain --- plugins/wifi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 7b416fcf..fd046e97 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; } -- cgit v1.2.3