aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.c
diff options
context:
space:
mode:
authorJay Katabathuni <jkatabat@qca.qualcomm.com>2011-09-08 17:52:23 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-08 20:29:40 (GMT)
commit25471fe3b9acb15e25d519ade01e757395bb61eb (patch)
treeee9d9c9155cc5aec7ecf9b3fe51308598ae5ad5b /wpa_supplicant/bss.c
parentc8a7f9a7b80959566bf3117151dc678aea7f55b3 (diff)
downloadhostap-25471fe3b9acb15e25d519ade01e757395bb61eb.zip
hostap-25471fe3b9acb15e25d519ade01e757395bb61eb.tar.gz
hostap-25471fe3b9acb15e25d519ade01e757395bb61eb.tar.bz2
HS 2.0: Add Hotspot 2.0 ANQP routines
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/bss.c')
-rw-r--r--wpa_supplicant/bss.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/bss.c b/wpa_supplicant/bss.c
index 792316d..a373116 100644
--- a/wpa_supplicant/bss.c
+++ b/wpa_supplicant/bss.c
@@ -53,6 +53,12 @@ static void wpa_bss_remove(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
wpabuf_free(bss->anqp_3gpp);
wpabuf_free(bss->anqp_domain_name);
#endif /* CONFIG_INTERWORKING */
+#ifdef CONFIG_HS20
+ wpabuf_free(bss->hs20_operator_friendly_name);
+ wpabuf_free(bss->hs20_wan_metrics);
+ wpabuf_free(bss->hs20_connection_capability);
+ wpabuf_free(bss->hs20_operating_class);
+#endif /* CONFIG_HS20 */
os_free(bss);
}