aboutsummaryrefslogtreecommitdiffstats
path: root/src/fst
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-25 20:20:33 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-25 20:20:33 (GMT)
commit94edea89fd1c1deb176eaea9f29cbc4e3ee3ddda (patch)
tree32a32d771cf4b94836b09c18ab3f604288318305 /src/fst
parentff7a4bd13fe4a0058c5b865d390a7d57646a8d1e (diff)
downloadhostap-94edea89fd1c1deb176eaea9f29cbc4e3ee3ddda.zip
hostap-94edea89fd1c1deb176eaea9f29cbc4e3ee3ddda.tar.gz
hostap-94edea89fd1c1deb176eaea9f29cbc4e3ee3ddda.tar.bz2
FST: Print reason for ignoring FST Action frame in debug log
This makes it easier to understand why some frames are not processed. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/fst')
-rw-r--r--src/fst/fst.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fst/fst.c b/src/fst/fst.c
index 568fb86..347c6fa 100644
--- a/src/fst/fst.c
+++ b/src/fst/fst.c
@@ -183,6 +183,10 @@ void fst_rx_action(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt,
{
if (fst_iface_is_connected(iface, mgmt->sa))
fst_session_on_action_rx(iface, mgmt, len);
+ else
+ wpa_printf(MSG_DEBUG,
+ "FST: Ignore FST Action frame - no FST connection with "
+ MACSTR, MAC2STR(mgmt->sa));
}