aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-12-16 20:27:04 +0100
committerDavid Bauer <mail@david-bauer.net>2021-12-16 20:27:07 +0100
commit9090e0be4d4d6dc26b7789f2a5a62dbb0b124cfb (patch)
treead62fbd2c0a18c3f5dffee924a11ae97229d1823 /package/network
parentcc3e390a74818464a0bfc89fc6edb3b1fefed501 (diff)
downloadupstream-9090e0be4d4d6dc26b7789f2a5a62dbb0b124cfb.tar.gz
upstream-9090e0be4d4d6dc26b7789f2a5a62dbb0b124cfb.tar.bz2
upstream-9090e0be4d4d6dc26b7789f2a5a62dbb0b124cfb.zip
hostapd: close correct blobmsg table
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/src/src/ap/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c
index 3066765e67..db38ed2941 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.c
+++ b/package/network/services/hostapd/src/src/ap/ubus.c
@@ -440,7 +440,7 @@ hostapd_bss_get_status(struct ubus_context *ctx, struct ubus_object *obj,
blobmsg_add_u64(&b, "bss_transition_query_rx", hapd->iface->openwrt_stats.wnm.bss_transition_query_rx);
blobmsg_add_u64(&b, "bss_transition_request_tx", hapd->iface->openwrt_stats.wnm.bss_transition_request_tx);
blobmsg_add_u64(&b, "bss_transition_response_rx", hapd->iface->openwrt_stats.wnm.bss_transition_response_rx);
- blobmsg_close_table(&b, rrm_table);
+ blobmsg_close_table(&b, wnm_table);
/* Airtime */
airtime_table = blobmsg_open_table(&b, "airtime");