summaryrefslogtreecommitdiff
path: root/iwinfo_lua.c
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-03-22 01:05:03 +0100
committerDavid Bauer <mail@david-bauer.net>2020-03-22 01:06:36 +0100
commit06a03c9e3b32a409e8307b1abde2cfd7dd969b6d (patch)
tree680058d4d89199f4145fc6c909121527b29d920f /iwinfo_lua.c
parent9a4bae898f770fdf00858ef468d26a94367515f2 (diff)
downloadiwinfo-06a03c9e3b32a409e8307b1abde2cfd7dd969b6d.tar.gz
Revert "iwinfo: add BSS load element to scan result"
This reverts commit a6914dc0dc3cba65e245fbe40076626ea2bcd5a3. iwinfo currently misses ABI version tracking in OpenWrt, potentially breaking other packages unintentionally. Revert this commit for now until this is implemented. Otherwise, we are not able to safely bump iwinfo at the moment. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'iwinfo_lua.c')
-rw-r--r--iwinfo_lua.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/iwinfo_lua.c b/iwinfo_lua.c
index 76160b6..58a5537 100644
--- a/iwinfo_lua.c
+++ b/iwinfo_lua.c
@@ -434,18 +434,6 @@ static int iwinfo_L_scanlist(lua_State *L, int (*func)(const char *, char *, int
lua_pushnumber(L, (e->signal - 0x100));
lua_setfield(L, -2, "signal");
- /* BSS load */
- if (e->has_bss_load) {
- lua_pushnumber(L, e->station_count);
- lua_setfield(L, -2, "station_count");
-
- lua_pushnumber(L, e->channel_utilization);
- lua_setfield(L, -2, "channel_utilization");
-
- lua_pushnumber(L, e->admission_capacity);
- lua_setfield(L, -2, "admission_capacity");
- }
-
/* Crypto */
iwinfo_L_cryptotable(L, &e->crypto);
lua_setfield(L, -2, "encryption");