mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
don't return if ap is not lower!
This commit is contained in:
parent
79b2b029d3
commit
7a7519d420
1 changed files with 4 additions and 1 deletions
|
@ -170,7 +170,10 @@ int better_ap_available(uint8_t bssid_addr[], uint8_t client_addr[], int automat
|
|||
if (dawn_metric.use_station_count && own_score == score_to_compare)
|
||||
{
|
||||
// if ap have same value but station count is different...
|
||||
return compare_station_count(bssid_addr, probe_array[k].bssid_addr, automatic_kick);
|
||||
if(compare_station_count(bssid_addr, probe_array[k].bssid_addr, automatic_kick))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue