Skip to content

Commit

Permalink
hostapd: close correct blobmsg table
Browse files Browse the repository at this point in the history
Signed-off-by: David Bauer <mail@david-bauer.net>
  • Loading branch information
blocktrron committed Dec 16, 2021
1 parent cc3e390 commit 9090e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/services/hostapd/src/src/ap/ubus.c
Expand Up @@ -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");
Expand Down

0 comments on commit 9090e0b

Please sign in to comment.