aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2015-03-06 14:47:29 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-06 19:08:54 (GMT)
commitc10ca2a66fac1758baad2d76c151251ab62ddcef (patch)
treef1fe5538636678bc8e85dd6d26b217025190c5a2 /wpa_supplicant/events.c
parent41312fc7ef42810894d937f233313e7d8a46022b (diff)
downloadhostap-c10ca2a66fac1758baad2d76c151251ab62ddcef.zip
hostap-c10ca2a66fac1758baad2d76c151251ab62ddcef.tar.gz
hostap-c10ca2a66fac1758baad2d76c151251ab62ddcef.tar.bz2
TDLS: Allow driver to request TDLS Discovery Request initiation
This extends the TDLS operation request mechanism to allow TDLS Discovery Request to be initiated by the driver similarly to the existing Setup and Teardown requests. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index a368c6d..05d751c 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2494,6 +2494,10 @@ static void wpa_supplicant_event_tdls(struct wpa_supplicant *wpa_s,
wpa_drv_tdls_oper(wpa_s, TDLS_TEARDOWN,
data->tdls.peer);
break;
+ case TDLS_REQUEST_DISCOVER:
+ wpa_tdls_send_discovery_request(wpa_s->wpa,
+ data->tdls.peer);
+ break;
}
}
#endif /* CONFIG_TDLS */