summaryrefslogtreecommitdiff
path: root/gsupplicant/supplicant.c
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2021-12-07 07:39:34 +0000
committerGerrit Code Review <gerrit@review>2021-12-07 07:39:34 +0000
commit4c163d3e732cc2bf4042cd9dbcb775ce825b96f6 (patch)
tree38fed8c38883b75a9935af3d68b2e2ded114579f /gsupplicant/supplicant.c
parentea037b245b808e58381a7a1eddf2f33b8b7e83ca (diff)
parent7d0b729a491d0ee388cf3d0a73b87cd2f506c314 (diff)
downloadconnman-4c163d3e732cc2bf4042cd9dbcb775ce825b96f6.tar.gz
connman-4c163d3e732cc2bf4042cd9dbcb775ce825b96f6.tar.bz2
connman-4c163d3e732cc2bf4042cd9dbcb775ce825b96f6.zip
Merge "Fix an incorrect value being used for signal score calculation" into tizen
Diffstat (limited to 'gsupplicant/supplicant.c')
-rwxr-xr-xgsupplicant/supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 427c8ca8..fe1b21f5 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2172,7 +2172,7 @@ static void update_bssid_list(gpointer key, gpointer value, gpointer user_data)
bssids->score_last_connected_bssid = calculate_score_last_connected_bssid(bssids->is_last_connected);
bssids->score_assoc_reject = calculate_score_assoc_reject(bssids->assoc_reject_cnt);
bssids->score_frequency = calculate_score_frequency(bss->signal, bssids->frequency);
- bssids->score_strength = calculate_score_strength(bssids->strength);
+ bssids->score_strength = calculate_score_strength(bss->signal);
bssids->score_snr = (int)bss->snr;
bssids->score_est_throughput = calculate_score_est_throughput(bss->est_throughput);
#endif