mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
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:
parent
9a493fab73
commit
a0c38e5dd7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user