mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Fix strncmp for auth
This commit is contained in:
parent
bdca973362
commit
6e7ca76b1f
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
if (strncmp(method, "probe", 5) == 0) {
|
||||
return handle_probe_req(msg);
|
||||
}
|
||||
else if (strncmp(method, "auth", 5) == 0) {
|
||||
else if (strncmp(method, "auth", 4) == 0) {
|
||||
return handle_auth_req(msg);
|
||||
}
|
||||
else if (strncmp(method, "assoc", 5) == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue