aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2014-08-20 16:25:06 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-18 14:41:40 (GMT)
commit49e1e9ca88e3355d90ba373ba19f37d09be36e25 (patch)
treee6ecac5b1838af3157ad688f8b5e69ac5e097a5d /wpa_supplicant/p2p_supplicant.h
parent89cd4355bbffbd2b35446a7ccf67c264ffdbf639 (diff)
downloadhostap-49e1e9ca88e3355d90ba373ba19f37d09be36e25.zip
hostap-49e1e9ca88e3355d90ba373ba19f37d09be36e25.tar.gz
hostap-49e1e9ca88e3355d90ba373ba19f37d09be36e25.tar.bz2
P2P: Avoid truncation of long listen operation due to offchan tx
On receiving the cancel remain on channel event, the pending_tx is scheduled immediately and returned. This was preventing the wpas_p2p_listen_start function from execution thereby resulting in termination of the long listen operation. Signed-off-by: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 4bc90fb..9f5a83b 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -58,6 +58,7 @@ int wpas_p2p_find(struct wpa_supplicant *wpa_s, unsigned int timeout,
const u8 *dev_id, unsigned int search_delay);
void wpas_p2p_stop_find(struct wpa_supplicant *wpa_s);
int wpas_p2p_listen(struct wpa_supplicant *wpa_s, unsigned int timeout);
+int wpas_p2p_listen_start(struct wpa_supplicant *wpa_s, unsigned int timeout);
int wpas_p2p_assoc_req_ie(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
u8 *buf, size_t len, int p2p_group);
void wpas_p2p_scan_ie(struct wpa_supplicant *wpa_s, struct wpabuf *ies);