diff options
author | Maneesh Jain <maneesh.jain@samsung.com> | 2017-07-07 14:34:50 +0530 |
---|---|---|
committer | Maneesh Jain <maneesh.jain@samsung.com> | 2017-07-07 14:41:14 +0530 |
commit | ea7972c912c1aad7ff18284116847740eb548c8c (patch) | |
tree | d2f0859d47b7dd4cf763955cb769398c4279ca7c /plugins | |
parent | a5dc565b80c2abcd6fb909f41611bbcc78a42c18 (diff) | |
download | connman-ea7972c912c1aad7ff18284116847740eb548c8c.tar.gz connman-ea7972c912c1aad7ff18284116847740eb548c8c.tar.bz2 connman-ea7972c912c1aad7ff18284116847740eb548c8c.zip |
[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 <maneesh.jain@samsung.com>
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/wifi.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |