From: Felix Fietkau Date: Tue, 7 Mar 2023 09:23:17 +0000 (+0100) Subject: hostapd: add missing return code for the bss_mgmt_enable ubus method X-Git-Tag: v6.0-20240103~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f0972662c6012d07b5b21660d19b283b13a88f9b;p=librecmc%2Flibrecmc.git hostapd: add missing return code for the bss_mgmt_enable ubus method Fixes bogus errors on ubus calls Signed-off-by: Felix Fietkau (cherry picked from commit cf992ca862f271936f61367236378378f0d91b6d) --- diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index 03b0791dd3..1aaa6e06ae 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -1097,6 +1097,8 @@ hostapd_bss_mgmt_enable(struct ubus_context *ctx, struct ubus_object *obj, } __hostapd_bss_mgmt_enable(hapd, flags); + + return 0; }