From 96ad652c27d42a9237804a6395a6b78286f3a23e Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Thu, 4 Jan 2018 12:12:43 +0100 Subject: [PATCH] remove code --- src/utils/ubus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/ubus.c b/src/utils/ubus.c index bb91980..80feb64 100644 --- a/src/utils/ubus.c +++ b/src/utils/ubus.c @@ -193,7 +193,7 @@ static void ubus_add_oject(); static void respond_to_notify(uint32_t id); - void add_client_update_timer(time_t time) { +void add_client_update_timer(time_t time) { uloop_timeout_set(&client_timer, time); } @@ -565,8 +565,6 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj, // TODO: Only handle probe request and NOT assoc, ... - respond_to_notify(req->peer); - if (strncmp(method, "probe", 5) == 0) { return handle_probe_req(msg); } else if (strncmp(method, "auth", 4) == 0) {