hostapd: add missing return code for the bss_mgmt_enable ubus method
authorFelix Fietkau <nbd@nbd.name>
Tue, 7 Mar 2023 09:23:17 +0000 (10:23 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 15 May 2023 15:09:57 +0000 (11:09 -0400)
Fixes bogus errors on ubus calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit cf992ca862f271936f61367236378378f0d91b6d)

package/network/services/hostapd/src/src/ap/ubus.c

index 03b0791dd3a168ded74dee6cbda8015f7d32dff6..1aaa6e06ae8c7a8ebcacacb8965afbf133c91ddb 100644 (file)
@@ -1097,6 +1097,8 @@ hostapd_bss_mgmt_enable(struct ubus_context *ctx, struct ubus_object *obj,
        }
 
        __hostapd_bss_mgmt_enable(hapd, flags);
+
+       return 0;
 }