Only accept client if no better prob is available

This commit is contained in:
PolynomialDivision 2017-08-26 23:05:27 +02:00
parent 7432e78c34
commit eb23adb191
3 changed files with 26 additions and 47 deletions

View file

@ -140,6 +140,11 @@ static int decide_function(probe_entry *prob_req) {
return 0;
}
if(better_ap_available(prob_req->bssid_addr, prob_req->client_addr))
{
return 0;
}
return 1;
}