mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
remove prints
This commit is contained in:
parent
0407da37e8
commit
2ec8f38a05
1 changed files with 1 additions and 11 deletions
|
@ -709,9 +709,6 @@ static int add_subscriber(char *name) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Subscribing to: %s\n", subscribe_name);
|
|
||||||
printf("Subscriber ID: %d\n", id);
|
|
||||||
|
|
||||||
if(hostapd_array_check_id(id))
|
if(hostapd_array_check_id(id))
|
||||||
{
|
{
|
||||||
// entry already existing
|
// entry already existing
|
||||||
|
@ -782,15 +779,13 @@ int dawn_init_ubus(const char *ubus_socket, const char *hostapd_dir) {
|
||||||
// set dawn metric
|
// set dawn metric
|
||||||
dawn_metric = uci_get_dawn_metric();
|
dawn_metric = uci_get_dawn_metric();
|
||||||
|
|
||||||
//uloop_timeout_add(&hostapd_timer);
|
uloop_timeout_add(&hostapd_timer);
|
||||||
|
|
||||||
// remove probe
|
// remove probe
|
||||||
uloop_add_data_cbs();
|
uloop_add_data_cbs();
|
||||||
|
|
||||||
// get clients
|
// get clients
|
||||||
printf("SETTING UP CLIENT TIMER:\n");
|
|
||||||
uloop_timeout_add(&client_timer);
|
uloop_timeout_add(&client_timer);
|
||||||
printf("FINISHED ADDING CLIENT TIMER!\n");
|
|
||||||
|
|
||||||
uloop_timeout_add(&channel_utilization_timer);
|
uloop_timeout_add(&channel_utilization_timer);
|
||||||
|
|
||||||
|
@ -805,11 +800,8 @@ int dawn_init_ubus(const char *ubus_socket, const char *hostapd_dir) {
|
||||||
|
|
||||||
subscribe_to_hostapd_interfaces(hostapd_dir_glob);
|
subscribe_to_hostapd_interfaces(hostapd_dir_glob);
|
||||||
|
|
||||||
//subscribe_to_hostapd_interfaces(hostapd_dir_glob);
|
|
||||||
|
|
||||||
uloop_run();
|
uloop_run();
|
||||||
|
|
||||||
|
|
||||||
close_socket();
|
close_socket();
|
||||||
|
|
||||||
ubus_free(ctx);
|
ubus_free(ctx);
|
||||||
|
@ -968,8 +960,6 @@ int parse_to_clients(struct blob_attr *msg, int do_kick, uint32_t id) {
|
||||||
|
|
||||||
static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_attr *msg) {
|
static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_attr *msg) {
|
||||||
|
|
||||||
printf("GOT CALLBACK!\n");
|
|
||||||
|
|
||||||
if (!msg)
|
if (!msg)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue