low rssi and so on

This commit is contained in:
PolynomialDivision 2017-12-30 13:23:58 +01:00
parent 2a4cbce855
commit 73a36f34b3
2 changed files with 4 additions and 1 deletions

View file

@ -24,7 +24,7 @@ config metric
option no_ht_support '0'
option no_vht_support '0'
option rssi '0'
option low_rssi '0'
option low_rssi '-500'
option freq '100'
option chan_util '0'
option max_chan_util '0'

View file

@ -235,6 +235,9 @@ int eval_probe_metric(struct probe_entry_s probe_entry) {
printf("SCORE: %d of:\n", score);
print_probe_entry(probe_entry);
if(score < 0)
score = 0;
return score;
}