aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-03-07 10:23:17 +0100
committerFelix Fietkau <nbd@nbd.name>2023-03-07 10:24:05 +0100
commitcf992ca862f271936f61367236378378f0d91b6d (patch)
treef8e0eb89bef8bcdebd287a78a3b00023b40855ff /package
parentd10e1b4a71bff8411d734444cc8c9aa0b0ba57a4 (diff)
downloadupstream-cf992ca862f271936f61367236378378f0d91b6d.tar.gz
upstream-cf992ca862f271936f61367236378378f0d91b6d.tar.bz2
upstream-cf992ca862f271936f61367236378378f0d91b6d.zip
hostapd: add missing return code for the bss_mgmt_enable ubus method
Fixes bogus errors on ubus calls Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/src/src/ap/ubus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c
index 50012252e4..ddd86447eb 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.c
+++ b/package/network/services/hostapd/src/src/ap/ubus.c
@@ -1084,6 +1084,8 @@ hostapd_bss_mgmt_enable(struct ubus_context *ctx, struct ubus_object *obj,
}
__hostapd_bss_mgmt_enable(hapd, flags);
+
+ return 0;
}