mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
mesh: Add Category and Action field to maximum buffer length
Make the buf_len calculation match more closely with the following wpa_buf*() operations. The extra room from the existing elements was apparently sufficiently large to cover this, but better add the two octet header explicitly. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
25778502d5
commit
4929d556cc
@ -222,7 +222,8 @@ static void mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s,
|
||||
if (!sta)
|
||||
return;
|
||||
|
||||
buf_len = 2 + /* capability info */
|
||||
buf_len = 2 + /* Category and Action */
|
||||
2 + /* capability info */
|
||||
2 + /* AID */
|
||||
2 + 8 + /* supported rates */
|
||||
2 + (32 - 8) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user