[PATCH 2/2] hostapd: remove unused mac_buff allocation
Martin Weinelt
hexa at darmstadt.ccc.de
Fri Jun 25 15:01:08 PDT 2021
Signed-off-by: Martin Weinelt <hexa at darmstadt.ccc.de>
---
package/network/services/hostapd/src/src/ap/ubus.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c
index 1b605bdf0a..b0e82d457b 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.c
+++ b/package/network/services/hostapd/src/src/ap/ubus.c
@@ -408,7 +408,6 @@ hostapd_bss_get_status(struct ubus_context *ctx, struct ubus_object *obj,
struct os_reltime now;
char ssid[SSID_MAX_LEN + 1];
char phy_name[17];
- char mac_buf[20];
blob_buf_init(&b, 0);
blobmsg_add_string(&b, "status", hostapd_state_text(hapd->iface->state));
--
2.31.1
More information about the openwrt-devel
mailing list