]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
GAS: Export gas_build_initial_resp()
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 16 Oct 2011 18:00:44 +0000 (21:00 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 16 Oct 2011 20:55:34 +0000 (23:55 +0300)
This is needed for some GAS error response messages where the ANQP
Advertisement Protocol element is not used.

src/common/gas.c
src/common/gas.h

index c9f6c46f1c76923271ec78d7a6cbe7a9072d0ba5..babdaa314ecf5ef8df9901a0d30e05630204366d 100644 (file)
@@ -72,7 +72,7 @@ gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id,
 }
 
 
-static struct wpabuf *
+struct wpabuf *
 gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay,
                       size_t size)
 {
index 4a498004a166165acfe79af724e8d2a2842d198d..2f8d2cb6310bbccec0c7da73b45d2ed56cbc5e45 100644 (file)
@@ -17,6 +17,8 @@
 #define GAS_H
 
 struct wpabuf * gas_build_comeback_req(u8 dialog_token);
+struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
+                                      u16 comeback_delay, size_t size);
 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
                                            u16 comeback_delay, size_t size);