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>
This commit is contained in:
parent
ff7a4bd13f
commit
94edea89fd
2 changed files with 7 additions and 0 deletions
|
@ -2122,6 +2122,9 @@ static int handle_action(struct hostapd_data *hapd,
|
||||||
case WLAN_ACTION_FST:
|
case WLAN_ACTION_FST:
|
||||||
if (hapd->iface->fst)
|
if (hapd->iface->fst)
|
||||||
fst_rx_action(hapd->iface->fst, mgmt, len);
|
fst_rx_action(hapd->iface->fst, mgmt, len);
|
||||||
|
else
|
||||||
|
wpa_printf(MSG_DEBUG,
|
||||||
|
"FST: Ignore FST Action frame - no FST attached");
|
||||||
return 1;
|
return 1;
|
||||||
#endif /* CONFIG_FST */
|
#endif /* CONFIG_FST */
|
||||||
case WLAN_ACTION_PUBLIC:
|
case WLAN_ACTION_PUBLIC:
|
||||||
|
|
|
@ -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))
|
if (fst_iface_is_connected(iface, mgmt->sa))
|
||||||
fst_session_on_action_rx(iface, mgmt, len);
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue