aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-26 00:01:08 +0200
committerDavid Bauer <mail@david-bauer.net>2022-03-20 01:31:21 +0100
commit95b0b8725c68e26f6014d672552411ab5e083abe (patch)
treece160d8af3b97f1f21f6fbfd0995ffa4e6cd204e
parent3731ffa0ee0c7e4e1bac96bf99a390cf93f7bb30 (diff)
downloadupstream-95b0b8725c68e26f6014d672552411ab5e083abe.tar.gz
upstream-95b0b8725c68e26f6014d672552411ab5e083abe.tar.bz2
upstream-95b0b8725c68e26f6014d672552411ab5e083abe.zip
hostapd: remove unused mac_buff allocation
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de> (cherry picked from commit cde154c8712255d13658317b116d4fc341ed89f2)
-rw-r--r--package/network/services/hostapd/src/src/ap/ubus.c1
1 files changed, 0 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 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)