FT: Debug print extra response data
This shows any extra data from FT response and also avoids a static analyzer warning on dead increment. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
70bfc77161
commit
164a453f9b
1 changed files with 5 additions and 0 deletions
|
@ -1689,6 +1689,11 @@ int wpa_ft_rrb_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (end > pos) {
|
||||
wpa_hexdump(MSG_DEBUG, "FT: Ignore extra data in end",
|
||||
pos, end - pos);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue