mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
try fix probe request
This commit is contained in:
parent
88152177d5
commit
e18f42ae4d
1 changed files with 2 additions and 1 deletions
|
|
@ -377,6 +377,7 @@ static int handle_probe_req(struct blob_attr *msg) {
|
||||||
if(parse_to_probe_req(msg, &prob_req) == 0)
|
if(parse_to_probe_req(msg, &prob_req) == 0)
|
||||||
{
|
{
|
||||||
insert_to_array(prob_req, 1);
|
insert_to_array(prob_req, 1);
|
||||||
|
print_probe_array();
|
||||||
send_blob_attr_via_network(msg, "probe");
|
send_blob_attr_via_network(msg, "probe");
|
||||||
}
|
}
|
||||||
//insert_to_list(prob_req, 1);
|
//insert_to_list(prob_req, 1);
|
||||||
|
|
@ -469,7 +470,7 @@ int handle_network_msg(char* msg)
|
||||||
probe_entry entry;
|
probe_entry entry;
|
||||||
if(parse_to_probe_req(data_buf.head, &entry) == 0)
|
if(parse_to_probe_req(data_buf.head, &entry) == 0)
|
||||||
{
|
{
|
||||||
probe_array_insert(entry);
|
insert_to_array(entry, 0);
|
||||||
print_probe_array();
|
print_probe_array();
|
||||||
}
|
}
|
||||||
} else if (strncmp(method, "clients", 5) == 0) {
|
} else if (strncmp(method, "clients", 5) == 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue