aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/rx_mgmt.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-11-12 21:01:56 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-12 21:01:56 (GMT)
commit994d6a88c55dc1e38c8b327e50026de4ee82ef92 (patch)
treed10a8b43f0ccda8a32dcb2233c06b18731883d11 /wlantest/rx_mgmt.c
parent9bb6cdaaaf03cd83f03161a02ca2bd50a854ff4b (diff)
downloadhostap-994d6a88c55dc1e38c8b327e50026de4ee82ef92.zip
hostap-994d6a88c55dc1e38c8b327e50026de4ee82ef92.tar.gz
hostap-994d6a88c55dc1e38c8b327e50026de4ee82ef92.tar.bz2
wlantest: Use MFPC field instead of igtk_set to check if BIP is needed
Diffstat (limited to 'wlantest/rx_mgmt.c')
-rw-r--r--wlantest/rx_mgmt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wlantest/rx_mgmt.c b/wlantest/rx_mgmt.c
index 8147cc1..309db14 100644
--- a/wlantest/rx_mgmt.c
+++ b/wlantest/rx_mgmt.c
@@ -605,8 +605,7 @@ static int check_bip(struct wlantest *wt, const u8 *data, size_t len)
if (len < 24 + 18 || data[len - 18] != WLAN_EID_MMIE ||
data[len - 17] != 16) {
/* No MMIE */
- /* TODO: use MFPC flag in RSN IE instead of IGTK flags */
- if (bss->igtk_set[4] || bss->igtk_set[5]) {
+ if (bss->rsn_capab & WPA_CAPABILITY_MFPC) {
wpa_printf(MSG_INFO, "Robust group-addressed "
"management frame sent without BIP by "
MACSTR, MAC2STR(mgmt->sa));