[openwrt/openwrt] hostapd: add missing function declaration
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 26 18:13:53 PST 2021
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5ca77934180ea277520be0dbbe7d47c47eec2375
commit 5ca77934180ea277520be0dbbe7d47c47eec2375
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Dec 20 17:29:49 2021 +0100
hostapd: add missing function declaration
Signed-off-by: David Bauer <mail at david-bauer.net>
---
package/network/services/hostapd/src/src/ap/ubus.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/network/services/hostapd/src/src/ap/ubus.h b/package/network/services/hostapd/src/src/ap/ubus.h
index 899b001dd5..f1bc093e57 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.h
+++ b/package/network/services/hostapd/src/src/ap/ubus.h
@@ -61,6 +61,9 @@ void hostapd_ubus_notify_bss_transition_response(
const u8 *candidate_list, u16 candidate_list_len);
void hostapd_ubus_add(struct hapd_interfaces *interfaces);
void hostapd_ubus_free(struct hapd_interfaces *interfaces);
+int hostapd_ubus_notify_bss_transition_query(
+ struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, u8 reason,
+ const u8 *candidate_list, u16 candidate_list_len);
#else
@@ -125,6 +128,13 @@ static inline void hostapd_ubus_add(struct hapd_interfaces *interfaces)
static inline void hostapd_ubus_free(struct hapd_interfaces *interfaces)
{
}
+
+static inline int hostapd_ubus_notify_bss_transition_query(
+ struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, u8 reason,
+ const u8 *candidate_list, u16 candidate_list_len)
+{
+ return 0;
+}
#endif
#endif
More information about the lede-commits
mailing list