[openwrt/openwrt] hostapd: add missing inline stubs for ubus vlan event support

LEDE Commits lede-commits at lists.infradead.org
Wed May 26 03:05:24 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/33c69aee4185a38f1ca542d236186450b81962d0

commit 33c69aee4185a38f1ca542d236186450b81962d0
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue May 18 15:51:00 2021 +0200

    hostapd: add missing inline stubs for ubus vlan event support
    
    Only used when building without ubus support
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/hostapd/src/src/ap/ubus.h | 8 ++++++++
 1 file changed, 8 insertions(+)

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;



More information about the lede-commits mailing list