aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2015-08-12 12:04:22 +0300
committerGerrit - the friendly Code Review server <code-review@localhost>2015-12-01 08:14:47 -0800
commit87704cf971d272347fa196c23e2574f0faa90a3c (patch)
tree11c1dbff346cea43cef70d76e64380fdd7c6517d /src
parent9e78bad68ca6ea1bca6116ddb2a234739daa58d4 (diff)
downloadandroid_external_wpa_supplicant_8-87704cf971d272347fa196c23e2574f0faa90a3c.tar.gz
android_external_wpa_supplicant_8-87704cf971d272347fa196c23e2574f0faa90a3c.tar.bz2
android_external_wpa_supplicant_8-87704cf971d272347fa196c23e2574f0faa90a3c.zip
FST: Fix STA MB IEs creation
FST STA should always expose its MB IEs regardless of its connection state and whether the connected AP is currently FST-enabled or not. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: f231b3d816aa9818432b06b65e71114613b68a91 Git-repo : git://w1.fi/srv/git/hostap.git CRs-Fixed: 945518 Change-Id: Ie505405ed91b34fca17a1a6fe56b2a20357d3d64
Diffstat (limited to 'src')
-rw-r--r--src/fst/fst_group.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/fst/fst_group.c b/src/fst/fst_group.c
index f6c7be94..f2cd3296 100644
--- a/src/fst/fst_group.c
+++ b/src/fst/fst_group.c
@@ -18,22 +18,6 @@
struct dl_list fst_global_groups_list;
-#ifndef HOSTAPD
-static Boolean fst_has_fst_peer(struct fst_iface *iface, Boolean *has_peer)
-{
- const u8 *bssid;
-
- bssid = fst_iface_get_bssid(iface);
- if (!bssid) {
- *has_peer = FALSE;
- return FALSE;
- }
-
- *has_peer = TRUE;
- return fst_iface_get_peer_mb_ie(iface, bssid) != NULL;
-}
-#endif /* HOSTAPD */
-
static void fst_dump_mb_ies(const char *group_id, const char *ifname,
struct wpabuf *mbies)
@@ -147,16 +131,6 @@ static struct wpabuf * fst_group_create_mb_ie(struct fst_group *g,
struct fst_iface *f;
unsigned int nof_mbies = 0;
unsigned int nof_ifaces_added = 0;
-#ifndef HOSTAPD
- Boolean has_peer;
- Boolean has_fst_peer;
-
- foreach_fst_group_iface(g, f) {
- has_fst_peer = fst_has_fst_peer(f, &has_peer);
- if (has_peer && !has_fst_peer)
- return NULL;
- }
-#endif /* HOSTAPD */
foreach_fst_group_iface(g, f) {
if (f == i)