aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-26 00:01:08 +0200
committerDavid Bauer <mail@david-bauer.net>2021-07-06 02:26:44 +0200
commitcde154c8712255d13658317b116d4fc341ed89f2 (patch)
tree54b4c5c0537dbb38c39bb1c9172d315efc31f570 /package/network/services
parent398df6275674b637bc950e4f946f84c2bc5e09ff (diff)
downloadupstream-cde154c8712255d13658317b116d4fc341ed89f2.tar.gz
upstream-cde154c8712255d13658317b116d4fc341ed89f2.tar.bz2
upstream-cde154c8712255d13658317b116d4fc341ed89f2.zip
hostapd: remove unused mac_buff allocation
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Diffstat (limited to 'package/network/services')
-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 289c8ff7a4..fb568f9e7b 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)