mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Enable network receiving probe request
This commit is contained in:
parent
a1d488b633
commit
81f4813ce8
2 changed files with 4 additions and 2 deletions
|
@ -75,8 +75,10 @@ void *receive_msg(void *args) {
|
|||
printf("Parsed: '%s'\n", str);
|
||||
parse_to_probe_req(b.head, &prob_req);
|
||||
|
||||
insert_to_array(prob_req, 0);
|
||||
|
||||
// insert to list
|
||||
insert_to_list(prob_req, 0);
|
||||
//insert_to_list(prob_req, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
// send probe via network
|
||||
char *str;
|
||||
str = blobmsg_format_json(msg, true);
|
||||
//send_string(str);
|
||||
send_string(str);
|
||||
|
||||
printf("[WC] Hostapd-Probe: %s : %s\n", method, str);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue