remove old thread stuff

This commit is contained in:
PolynomialDivision 2017-11-20 19:05:58 +01:00
parent bef2c699dd
commit 5705946da6
4 changed files with 1 additions and 66 deletions

View file

@ -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