From 20616d7ef9965a2ad84d2cb129c9b81e3c82f7bd Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Tue, 20 Jun 2017 23:21:12 +0200 Subject: [PATCH] Remove sleeping before deciding mac will be acepted --- src/ubus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ubus.c b/src/ubus.c index bb42be7..da87490 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -103,6 +103,8 @@ static int hostapd_notify(struct ubus_context *ctx, struct ubus_object *obj, print_list(); + //sleep(2); // sleep for 2s + // deny access if(!decide_function(&prob_req)) {