[openwrt/openwrt] hostapd: remove unused mac_buff allocation

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 19 17:34:53 PDT 2022


blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/95b0b8725c68e26f6014d672552411ab5e083abe

commit 95b0b8725c68e26f6014d672552411ab5e083abe
Author: Martin Weinelt <hexa at darmstadt.ccc.de>
AuthorDate: Sat Jun 26 00:01:08 2021 +0200

    hostapd: remove unused mac_buff allocation
    
    Signed-off-by: Martin Weinelt <hexa at darmstadt.ccc.de>
    (cherry picked from commit cde154c8712255d13658317b116d4fc341ed89f2)
---
 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 131f3f71a8..64d417a758 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];
 	size_t ssid_len = SSID_MAX_LEN;
 
 	if (hapd->conf->ssid.ssid_len < SSID_MAX_LEN)




More information about the lede-commits mailing list