diff --git a/package/gluon-mesh-babel/src/respondd.c b/package/gluon-mesh-babel/src/respondd.c
index f7c870c14f761f53df72c26a56f3c4bf0ec1611a..733e9abb795dd4e0eb0393994698401aa86565f7 100644
--- a/package/gluon-mesh-babel/src/respondd.c
+++ b/package/gluon-mesh-babel/src/respondd.c
@@ -63,6 +63,8 @@
 #define STRINGIFY(s) _STRINGIFY(s)
 #include <stdlib.h>
 
+#define MAX_INACTIVITY 60000
+
 #define SOCKET_INPUT_BUFFER_SIZE 255
 #define BABEL_PORT 33123
 #define VPN_INTERFACE "mesh-vpn"
@@ -461,8 +463,12 @@ static void count_iface_stations(size_t *wifi24, size_t *wifi5, const char *ifna
 		return;
 
 	struct iwinfo_assoclist_entry *entry;
-	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++)
+	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++) {
+		if (entry->inactive > MAX_INACTIVITY)
+			continue;
+
 		(*wifi)++;
+	}
 }
 
 static void count_stations(size_t *wifi24, size_t *wifi5) {
@@ -623,6 +629,9 @@ static struct json_object * get_wifi_neighbours(const char *ifname) {
 
 	struct iwinfo_assoclist_entry *entry;
 	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++) {
+		if (entry->inactive > MAX_INACTIVITY)
+			continue;
+
 		struct json_object *obj = json_object_new_object();
 
 		json_object_object_add(obj, "signal", json_object_new_int(entry->signal));
diff --git a/package/gluon-mesh-batman-adv/src/respondd.c b/package/gluon-mesh-batman-adv/src/respondd.c
index 9c95b17f0fd598b3d94bb70476b07fa3428b960f..7417acfbfcd1be5d2ca2b8ac4f3a9b57e47be2e9 100644
--- a/package/gluon-mesh-batman-adv/src/respondd.c
+++ b/package/gluon-mesh-batman-adv/src/respondd.c
@@ -444,8 +444,12 @@ static void count_iface_stations(size_t *wifi24, size_t *wifi5, const char *ifna
 		return;
 
 	struct iwinfo_assoclist_entry *entry;
-	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++)
+	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++) {
+		if (entry->inactive > MAX_INACTIVITY)
+			continue;
+
 		(*wifi)++;
+	}
 }
 
 static void count_stations(size_t *wifi24, size_t *wifi5) {
@@ -712,6 +716,9 @@ static struct json_object * get_wifi_neighbours(const char *ifname) {
 
 	struct iwinfo_assoclist_entry *entry;
 	for (entry = (struct iwinfo_assoclist_entry *)buf; (char*)(entry+1) <= buf + len; entry++) {
+		if (entry->inactive > MAX_INACTIVITY)
+			continue;
+
 		struct json_object *obj = json_object_new_object();
 
 		json_object_object_add(obj, "signal", json_object_new_int(entry->signal));