aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.c
diff options
context:
space:
mode:
authorASHUTOSH NARAYAN <ashutoshx.narayan@intel.com>2015-02-18 02:35:10 (GMT)
committerJouni Malinen <j@w1.fi>2015-02-21 14:07:53 (GMT)
commit5ce6ac11ab91dfd3e816d4c16be07588b8f819f2 (patch)
treec40c218ce6f5c8af69dcfc79cc4adf4a52bcd4c0 /wpa_supplicant/bss.c
parent185ada47705cf79d6c446e680e9ef1d20b90ba6d (diff)
downloadhostap-5ce6ac11ab91dfd3e816d4c16be07588b8f819f2.zip
hostap-5ce6ac11ab91dfd3e816d4c16be07588b8f819f2.tar.gz
hostap-5ce6ac11ab91dfd3e816d4c16be07588b8f819f2.tar.bz2
Inteworking: Add support to update the ANQP Capability List into the BSS
In addition, add support for returning the capability list through the BSS control interface command. Signed-off-by: ASHUTOSH NARAYAN <ashutoshx.narayan@intel.com>
Diffstat (limited to 'wpa_supplicant/bss.c')
-rw-r--r--wpa_supplicant/bss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/bss.c b/wpa_supplicant/bss.c
index d4d0c77..3b476d5 100644
--- a/wpa_supplicant/bss.c
+++ b/wpa_supplicant/bss.c
@@ -85,6 +85,7 @@ static struct wpa_bss_anqp * wpa_bss_anqp_clone(struct wpa_bss_anqp *anqp)
#define ANQP_DUP(f) if (anqp->f) n->f = wpabuf_dup(anqp->f)
#ifdef CONFIG_INTERWORKING
+ ANQP_DUP(capability_list);
ANQP_DUP(venue_name);
ANQP_DUP(network_auth_type);
ANQP_DUP(roaming_consortium);
@@ -155,6 +156,7 @@ static void wpa_bss_anqp_free(struct wpa_bss_anqp *anqp)
}
#ifdef CONFIG_INTERWORKING
+ wpabuf_free(anqp->capability_list);
wpabuf_free(anqp->venue_name);
wpabuf_free(anqp->network_auth_type);
wpabuf_free(anqp->roaming_consortium);