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)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Mar 2023 09:24:05 +0000 (10:24 +0100)
Fixes bogus errors on ubus calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ubus.c

index 50012252e4f09918060e308447ddcc11b5af0e89..ddd86447eb13712a94095f7aabbdea5b9add774d 100644 (file)
@@ -1084,6 +1084,8 @@ hostapd_bss_mgmt_enable(struct ubus_context *ctx, struct ubus_object *obj,
        }
 
        __hostapd_bss_mgmt_enable(hapd, flags);
+
+       return 0;
 }