From 4d5760d053800633f51c2728593709622054d5be Mon Sep 17 00:00:00 2001 From: Anton Nayshtut Date: Sun, 16 Nov 2014 17:28:53 +0200 Subject: FST: Send FST Action frame for processing (wpa_supplicant) Change-Id: I0c237bcc69fc3ca84937f0d8e20fec97d2e3f20b Signed-off-by: Jouni Malinen Git-commit: 9fbfd1b0d4afb73ec466e1abc2125302a4d105c8 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455 --- wpa_supplicant/events.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index ac6a6e54..7ea6bdc0 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -23,6 +23,7 @@ #include "eap_peer/eap.h" #include "ap/hostapd.h" #include "p2p/p2p.h" +#include "fst/fst.h" #include "wnm_sta.h" #include "notify.h" #include "common/ieee802_11_defs.h" @@ -3135,6 +3136,13 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s, return; } +#ifdef CONFIG_FST + if (mgmt->u.action.category == WLAN_ACTION_FST && wpa_s->fst) { + fst_rx_action(wpa_s->fst, mgmt, len); + return; + } +#endif /* CONFIG_FST */ + wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, category, payload, plen, freq); if (wpa_s->ifmsh) -- cgit v1.2.3