Skip to content

Commit

Permalink
hostapd: add missing inline stubs for ubus vlan event support
Browse files Browse the repository at this point in the history
Only used when building without ubus support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed May 26, 2021
1 parent 937dd79 commit 33c69ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package/network/services/hostapd/src/src/ap/ubus.h
Expand Up @@ -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;
Expand Down

0 comments on commit 33c69ae

Please sign in to comment.