Actually DENY ASSOCIATION on "Deny association due to no probe entry found"

This commit is contained in:
Luca Passarella 2023-05-23 10:27:52 +02:00 committed by GitHub
parent e036905ae3
commit 14b994e3cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -484,6 +484,7 @@ static int handle_assoc_req(struct blob_attr *msg) {
// block if entry was not already found in probe database
if (own_probe == NULL) {
dawnlog_trace(MACSTR " Deny association due to no probe entry found", MAC2STR(assoc_req->client_addr.u8));
ret = dawn_metric.deny_assoc_reason;
}
else if (own_probe->counter < dawn_metric.min_probe_count) {
dawnlog_trace(MACSTR " Deny association due to low probe count", MAC2STR(assoc_req->client_addr.u8));