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>
This commit is contained in:
Avraham Stern 2016-02-15 16:53:48 +02:00 committed by Jouni Malinen
parent 9a493fab73
commit a0c38e5dd7

View file

@ -456,6 +456,8 @@ static void sme_send_authentication(struct wpa_supplicant *wpa_s,
} }
#endif /* CONFIG_FST */ #endif /* CONFIG_FST */
sme_auth_handle_rrm(wpa_s, bss);
#ifdef CONFIG_MBO #ifdef CONFIG_MBO
mbo = wpa_bss_get_vendor_ie(bss, MBO_IE_VENDOR_TYPE); mbo = wpa_bss_get_vendor_ie(bss, MBO_IE_VENDOR_TYPE);
if (mbo) { 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 #ifdef CONFIG_MBO
if (mbo) { if (mbo) {
int len; int len;