mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix function
This commit is contained in:
parent
35d873fd58
commit
649d5d08b0
1 changed files with 10 additions and 0 deletions
|
@ -409,6 +409,11 @@ static int handle_auth_req(struct blob_attr *msg) {
|
|||
printf("AUTH Entry: ");
|
||||
print_auth_entry(auth_req);
|
||||
|
||||
if(mac_in_maclist(auth_req.client_addr))
|
||||
{
|
||||
return WLAN_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
probe_entry tmp = probe_array_get_entry(auth_req.bssid_addr, auth_req.client_addr);
|
||||
|
||||
printf("Entry found\n");
|
||||
|
@ -441,6 +446,11 @@ static int handle_assoc_req(struct blob_attr *msg) {
|
|||
printf("ASSOC Entry: ");
|
||||
print_auth_entry(auth_req);
|
||||
|
||||
if(mac_in_maclist(auth_req.client_addr))
|
||||
{
|
||||
return WLAN_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
probe_entry tmp = probe_array_get_entry(auth_req.bssid_addr, auth_req.client_addr);
|
||||
|
||||
printf("Entry found\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue