hostapd: remove unused mac_buff allocation
authorMartin Weinelt <hexa@darmstadt.ccc.de>
Fri, 25 Jun 2021 22:01:08 +0000 (00:01 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 20 Mar 2022 00:31:21 +0000 (01:31 +0100)
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
(cherry picked from commit cde154c8712255d13658317b116d4fc341ed89f2)

package/network/services/hostapd/src/src/ap/ubus.c

index 131f3f71a832a3fd59bef651fbdfb7c9874154af..64d417a758aef1557ac969779f45fc59fcf7ae0a 100644 (file)
@@ -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)