aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface_unix.c
diff options
context:
space:
mode:
authorbhagavathi perumal s <bperumal@qti.qualcomm.com>2017-11-01 17:09:55 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-23 18:12:34 (GMT)
commitcc79e06f0053ac85f04f08376a2269c634154c87 (patch)
tree7990274e07bdccfbf5bc676480ef451cce1d63ac /wpa_supplicant/ctrl_iface_unix.c
parent92fe5f567cb9611f4698f56c630f1d693f61c027 (diff)
downloadhostap-cc79e06f0053ac85f04f08376a2269c634154c87.zip
hostap-cc79e06f0053ac85f04f08376a2269c634154c87.tar.gz
hostap-cc79e06f0053ac85f04f08376a2269c634154c87.tar.bz2
hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA
This allows external applications to get event indication for Probe Request frames. Extend ctrl iface cmd "ATTACH" to enable this event on per-request basis. For example, user has to send ctrl iface cmd "ATTACH probe_rx_events=1" to enable the Probe Request frame events. Signed-off-by: bhagavathi perumal s <bperumal@qti.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ctrl_iface_unix.c')
-rw-r--r--wpa_supplicant/ctrl_iface_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ctrl_iface_unix.c b/wpa_supplicant/ctrl_iface_unix.c
index 4db712f..b88c80a 100644
--- a/wpa_supplicant/ctrl_iface_unix.c
+++ b/wpa_supplicant/ctrl_iface_unix.c
@@ -103,7 +103,7 @@ static int wpa_supplicant_ctrl_iface_attach(struct dl_list *ctrl_dst,
struct sockaddr_storage *from,
socklen_t fromlen, int global)
{
- return ctrl_iface_attach(ctrl_dst, from, fromlen);
+ return ctrl_iface_attach(ctrl_dst, from, fromlen, NULL);
}