aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-12-20 17:29:49 +0100
committerDavid Bauer <mail@david-bauer.net>2021-12-27 03:13:36 +0100
commit5ca77934180ea277520be0dbbe7d47c47eec2375 (patch)
tree8a2b3371022dbf99d66d4ed9e820eb3596e326fa /package/network/services
parentcfa670bf16afc10855ca0adec50a807b684ba6a7 (diff)
downloadupstream-5ca77934180ea277520be0dbbe7d47c47eec2375.tar.gz
upstream-5ca77934180ea277520be0dbbe7d47c47eec2375.tar.bz2
upstream-5ca77934180ea277520be0dbbe7d47c47eec2375.zip
hostapd: add missing function declaration
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/hostapd/src/src/ap/ubus.h10
1 files changed, 10 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 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