mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
return in functions
This commit is contained in:
parent
13f87a79c0
commit
6b3a955cfe
1 changed files with 2 additions and 4 deletions
|
@ -480,8 +480,6 @@ int handle_network_msg(char* msg)
|
|||
return -1;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
if (strncmp(method, "probe", 5) == 0) {
|
||||
printf("METHOD PROBE\n");
|
||||
probe_entry entry;
|
||||
|
@ -493,7 +491,7 @@ int handle_network_msg(char* msg)
|
|||
parse_to_clients(data_buf.head, 0, 0);
|
||||
} else if (strncmp(method, "deauth", 5) == 0) {
|
||||
printf("METHOD DEAUTH\n");
|
||||
hostapd_notify_entry entry;
|
||||
/*hostapd_notify_entry entry;
|
||||
parse_to_hostapd_notify(data_buf.head, &entry);
|
||||
|
||||
client client_entry;
|
||||
|
@ -502,7 +500,7 @@ int handle_network_msg(char* msg)
|
|||
|
||||
pthread_mutex_lock(&client_array_mutex);
|
||||
client_array_delete(client_entry);
|
||||
pthread_mutex_unlock(&client_array_mutex);
|
||||
pthread_mutex_unlock(&client_array_mutex);*/
|
||||
}
|
||||
free(method);
|
||||
free(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue