aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2016-02-15 14:53:48 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-22 17:53:04 (GMT)
commita0c38e5dd71fe42f4fa6e41431de645ab0b19f8d (patch)
tree0b99d71cd8e6f50365868ed263ebb78dffbab232 /wpa_supplicant/sme.c
parent9a493fab7302f0cfebf1fa5526a167bf1b80677c (diff)
downloadhostap-a0c38e5dd71fe42f4fa6e41431de645ab0b19f8d.zip
hostap-a0c38e5dd71fe42f4fa6e41431de645ab0b19f8d.tar.gz
hostap-a0c38e5dd71fe42f4fa6e41431de645ab0b19f8d.tar.bz2
Re-order elements in (Re)Association Request frames
According to IEEE Std 802.11-2012, Table 8-22, RM Enabled Capabilities element must come before the Extended Capabilities element. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 068ded7..1c046a9 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -456,6 +456,8 @@ static void sme_send_authentication(struct wpa_supplicant *wpa_s,
}
#endif /* CONFIG_FST */
+ sme_auth_handle_rrm(wpa_s, bss);
+
#ifdef CONFIG_MBO
mbo = wpa_bss_get_vendor_ie(bss, MBO_IE_VENDOR_TYPE);
if (mbo) {
@@ -498,8 +500,6 @@ static void sme_send_authentication(struct wpa_supplicant *wpa_s,
}
}
- sme_auth_handle_rrm(wpa_s, bss);
-
#ifdef CONFIG_MBO
if (mbo) {
int len;