diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-03-07 10:23:17 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-03-07 10:24:05 +0100 |
commit | cf992ca862f271936f61367236378378f0d91b6d (patch) | |
tree | f8e0eb89bef8bcdebd287a78a3b00023b40855ff /package | |
parent | d10e1b4a71bff8411d734444cc8c9aa0b0ba57a4 (diff) | |
download | upstream-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.c | 2 |
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; } |