From cf992ca862f271936f61367236378378f0d91b6d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Mar 2023 10:23:17 +0100 Subject: [PATCH] hostapd: add missing return code for the bss_mgmt_enable ubus method Fixes bogus errors on ubus calls Signed-off-by: Felix Fietkau --- package/network/services/hostapd/src/src/ap/ubus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index 50012252e4f..ddd86447eb1 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; } -- 2.30.2