aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-05-18 15:51:00 +0200
committerFelix Fietkau <nbd@nbd.name>2021-05-26 11:48:14 +0200
commit33c69aee4185a38f1ca542d236186450b81962d0 (patch)
tree0b83776e4fbd3d9cc3dd9a2cebf7a8a05f6ad27c
parent937dd79e2a4457a316d67b3091f6da7d14a99168 (diff)
downloadupstream-33c69aee4185a38f1ca542d236186450b81962d0.tar.gz
upstream-33c69aee4185a38f1ca542d236186450b81962d0.tar.bz2
upstream-33c69aee4185a38f1ca542d236186450b81962d0.zip
hostapd: add missing inline stubs for ubus vlan event support
Only used when building without ubus support Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/services/hostapd/src/src/ap/ubus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.h b/package/network/services/hostapd/src/src/ap/ubus.h
index de0d1182fd..f746c86e4f 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.h
+++ b/package/network/services/hostapd/src/src/ap/ubus.h
@@ -76,6 +76,14 @@ static inline void hostapd_ubus_free_bss(struct hostapd_data *hapd)
{
}
+static inline void hostapd_ubus_add_vlan(struct hostapd_data *hapd, struct hostapd_vlan *vlan)
+{
+}
+
+static inline void hostapd_ubus_remove_vlan(struct hostapd_data *hapd, struct hostapd_vlan *vlan)
+{
+}
+
static inline int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_request *req)
{
return 0;