From 164a453f9b33157ce40106009272455e09267f43 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 30 Jun 2014 01:45:26 +0300 Subject: [PATCH] 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 --- src/ap/wpa_auth_ft.c | 5 +++++ 1 file changed, 5 insertions(+) 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; }