aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
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/ap/ieee802_11.c
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/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 2785c61..e224d1b 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -2122,6 +2122,9 @@ static int handle_action(struct hostapd_data *hapd,
case WLAN_ACTION_FST:
if (hapd->iface->fst)
fst_rx_action(hapd->iface->fst, mgmt, len);
+ else
+ wpa_printf(MSG_DEBUG,
+ "FST: Ignore FST Action frame - no FST attached");
return 1;
#endif /* CONFIG_FST */
case WLAN_ACTION_PUBLIC: