[openwrt/openwrt] hostapd: add missing return code for the bss_mgmt_enable ubus method
LEDE Commits
lede-commits at lists.infradead.org
Tue Mar 7 01:24:25 PST 2023
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cf992ca862f271936f61367236378378f0d91b6d
commit cf992ca862f271936f61367236378378f0d91b6d
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Mar 7 10:23:17 2023 +0100
hostapd: add missing return code for the bss_mgmt_enable ubus method
Fixes bogus errors on ubus calls
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
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 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;
}
More information about the lede-commits
mailing list