mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
return with WLAN_STATUS_SUCCESS
This commit is contained in:
parent
f4d5133c80
commit
b279ca2191
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
#define ETH_ALEN 6
|
||||
#endif
|
||||
|
||||
#define WLAN_STATUS_SUCCESS 0
|
||||
#define WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA 17
|
||||
|
||||
#include "ubus.h"
|
||||
|
@ -385,7 +386,7 @@ static int handle_auth_req(struct blob_attr *msg) {
|
|||
// delay problems...
|
||||
|
||||
printf("ALLOW AUTH!\n");
|
||||
return 0;
|
||||
return WLAN_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static int handle_assoc_req(struct blob_attr *msg) {
|
||||
|
@ -411,7 +412,7 @@ static int handle_probe_req(struct blob_attr *msg) {
|
|||
return WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA;
|
||||
}
|
||||
//printf("MAC WILL BE ACCEPDTED!!!\n");
|
||||
return 0;
|
||||
return WLAN_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static int handle_deauth_req(struct blob_attr *msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue