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)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2023 20:07:27 +0000 (22:07 +0200)
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 fa325ea6e5941fe25febe98f32c1482154e1023d..78bacef1948bf525703446fa98309ce40fb27bba 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;
 }