aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2011-12-06 19:28:02 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-06 19:28:02 (GMT)
commit8c5f73098335225aa71efdbf414f7c8452658f17 (patch)
treea40620bfde73a896b094eb97bed6c6143514f686 /wpa_supplicant/driver_i.h
parent61ff2c80806db047ec26304864bd3add261e01eb (diff)
downloadhostap-8c5f73098335225aa71efdbf414f7c8452658f17.zip
hostap-8c5f73098335225aa71efdbf414f7c8452658f17.tar.gz
hostap-8c5f73098335225aa71efdbf414f7c8452658f17.tar.bz2
P2P: Add optional "join" argument for p2p_prov_disc command
This can be used to request Provision Discovery Request to be sent for the purpose of joining a running group, e.g., to request the GO to display a PIN that we can then use with p2p_connect join command. Signed-hostap: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 8b584db..d61b3fd 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -569,12 +569,12 @@ static inline int wpa_drv_p2p_set_params(struct wpa_supplicant *wpa_s,
static inline int wpa_drv_p2p_prov_disc_req(struct wpa_supplicant *wpa_s,
const u8 *peer_addr,
- u16 config_methods)
+ u16 config_methods, int join)
{
if (!wpa_s->driver->p2p_prov_disc_req)
return -1;
return wpa_s->driver->p2p_prov_disc_req(wpa_s->drv_priv, peer_addr,
- config_methods);
+ config_methods, join);
}
static inline u64 wpa_drv_p2p_sd_request(struct wpa_supplicant *wpa_s,