mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
remove old thread stuff
This commit is contained in:
parent
bef2c699dd
commit
5705946da6
4 changed files with 1 additions and 66 deletions
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
static struct ubus_context *ctx = NULL;
|
||||
static struct ubus_context *ctx_clients; /* own ubus conext otherwise strange behavior... */
|
||||
//static struct ubus_context *ctx_hostapd;
|
||||
|
||||
static struct ubus_subscriber hostapd_event;
|
||||
static struct blob_buf b;
|
||||
|
|
@ -374,12 +373,10 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
static int add_subscriber(char *name) {
|
||||
uint32_t id = 0;
|
||||
|
||||
printf("DOING LOOKUP!\n");
|
||||
if (ubus_lookup_id(ctx, name, &id)) {
|
||||
fprintf(stderr, "Failed to look up test object for %s\n", name);
|
||||
return -1;
|
||||
}
|
||||
printf("Lookup success!\n");
|
||||
|
||||
if(hostapd_array_check_id(id))
|
||||
{
|
||||
|
|
@ -466,7 +463,6 @@ int dawn_init_ubus(const char *ubus_socket, char *hostapd_dir) {
|
|||
uloop_timeout_add(&hostapd_timer);
|
||||
|
||||
// remove probe
|
||||
//uloop_timeout_add(&probe_timeout);
|
||||
uloop_add_data_cbs();
|
||||
|
||||
// get clients
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue