diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-03-07 10:23:17 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-04-02 22:07:27 +0200 |
commit | 51cf5aa731077cb718af696865bf04a27a333877 (patch) | |
tree | aba329ae29f15c9f5330a792bda10e28ddc5a520 /package/network/services/hostapd | |
parent | d2f3422e9d52cb73e8a226173bf911bf148d8e88 (diff) | |
download | upstream-51cf5aa731077cb718af696865bf04a27a333877.tar.gz upstream-51cf5aa731077cb718af696865bf04a27a333877.tar.bz2 upstream-51cf5aa731077cb718af696865bf04a27a333877.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>
(cherry picked from commit cf992ca862f271936f61367236378378f0d91b6d)
Diffstat (limited to 'package/network/services/hostapd')
-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 fa325ea6e5..78bacef194 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -1097,6 +1097,8 @@ hostapd_bss_mgmt_enable(struct ubus_context *ctx, struct ubus_object *obj, } __hostapd_bss_mgmt_enable(hapd, flags); + + return 0; } |