mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-15 15:12:17 +00:00
hostapd: remove unused mac_buff allocation
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
8a3671f812
commit
f881d8a255
@ -408,7 +408,6 @@ hostapd_bss_get_status(struct ubus_context *ctx, struct ubus_object *obj,
|
|||||||
struct os_reltime now;
|
struct os_reltime now;
|
||||||
char ssid[SSID_MAX_LEN + 1];
|
char ssid[SSID_MAX_LEN + 1];
|
||||||
char phy_name[17];
|
char phy_name[17];
|
||||||
char mac_buf[20];
|
|
||||||
size_t ssid_len = SSID_MAX_LEN;
|
size_t ssid_len = SSID_MAX_LEN;
|
||||||
|
|
||||||
if (hapd->conf->ssid.ssid_len < SSID_MAX_LEN)
|
if (hapd->conf->ssid.ssid_len < SSID_MAX_LEN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user