aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_ft.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-06-29 22:45:26 (GMT)
committerJouni Malinen <j@w1.fi>2014-07-02 09:38:48 (GMT)
commit164a453f9b33157ce40106009272455e09267f43 (patch)
tree6e7555041bcb23e1ab7d17a4122d19a6991a82f0 /src/ap/wpa_auth_ft.c
parent70bfc77161e496357ae60f3e260121ad6ae0821e (diff)
downloadhostap-164a453f9b33157ce40106009272455e09267f43.zip
hostap-164a453f9b33157ce40106009272455e09267f43.tar.gz
hostap-164a453f9b33157ce40106009272455e09267f43.tar.bz2
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>
Diffstat (limited to 'src/ap/wpa_auth_ft.c')
-rw-r--r--src/ap/wpa_auth_ft.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c
index e356cea..8a6ca71 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;
}