fix max station count

This commit is contained in:
PolynomialDivision 2018-01-07 21:56:57 +01:00
parent b6cc6470af
commit 0a45183bb5

View file

@ -284,7 +284,7 @@ int compare_station_count(uint8_t *bssid_addr_own, uint8_t *bssid_addr_to_compar
}
printf("AFTER: Comparing own %d to %d\n", sta_count, sta_count_to_compare);
return sta_count - sta_count_to_compare < dawn_metric.max_station_diff;
return sta_count - sta_count_to_compare > dawn_metric.max_station_diff;
}
return 0;