From: Avraham Stern Date: Mon, 15 Feb 2016 14:53:48 +0000 (+0200) Subject: Re-order elements in (Re)Association Request frames X-Git-Tag: hostap_2_6~849 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0c38e5dd71fe42f4fa6e41431de645ab0b19f8d;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c index 068ded7d2..1c046a9ec 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;