From: Jouni Malinen Date: Sun, 29 Jun 2014 22:45:26 +0000 (+0300) Subject: FT: Debug print extra response data X-Git-Tag: hostap_2_3~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=164a453f9b33157ce40106009272455e09267f43;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c index e356cea48..8a6ca71c3 100644 --- a/src/ap/wpa_auth_ft.c +++ b/src/ap/wpa_auth_ft.c @@ -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; }