aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-07-11 18:03:09 (GMT)
committerJouni Malinen <j@w1.fi>2016-07-11 18:56:56 (GMT)
commit99a9423c7bb72cbca9d4822e1c7032b8f27e3bc1 (patch)
treeed687257bb4d6875e2e32f2a2b493c4c1a092592 /wpa_supplicant
parent1c39f984fdd7a80e86cb84a0d30ba93c9086f2e6 (diff)
downloadhostap-99a9423c7bb72cbca9d4822e1c7032b8f27e3bc1.zip
hostap-99a9423c7bb72cbca9d4822e1c7032b8f27e3bc1.tar.gz
hostap-99a9423c7bb72cbca9d4822e1c7032b8f27e3bc1.tar.bz2
HS 2.0: Make hs20_build_anqp_req() static
This function is not used outside hs20_supplicant.c. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/hs20_supplicant.c4
-rw-r--r--wpa_supplicant/hs20_supplicant.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/wpa_supplicant/hs20_supplicant.c b/wpa_supplicant/hs20_supplicant.c
index 1d15677..d9604f6 100644
--- a/wpa_supplicant/hs20_supplicant.c
+++ b/wpa_supplicant/hs20_supplicant.c
@@ -205,8 +205,8 @@ void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
}
-struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
- size_t payload_len)
+static struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
+ size_t payload_len)
{
struct wpabuf *buf;
diff --git a/wpa_supplicant/hs20_supplicant.h b/wpa_supplicant/hs20_supplicant.h
index 89c47a5..69f8e9e 100644
--- a/wpa_supplicant/hs20_supplicant.h
+++ b/wpa_supplicant/hs20_supplicant.h
@@ -13,8 +13,6 @@ void wpas_hs20_add_indication(struct wpabuf *buf, int pps_mo_id);
int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
const u8 *payload, size_t payload_len, int inmem);
-struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
- size_t payload_len);
void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
struct wpabuf *buf);
void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,