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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue