aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-09-01 08:05:19 (GMT)
committerJouni Malinen <j@w1.fi>2013-09-01 08:05:19 (GMT)
commit94ddef3e72ac92860d94039421b7ee2cfd81c198 (patch)
treef39b44e7614bb820d97340f17e41d53705272322 /wpa_supplicant/ibss_rsn.c
parent52177fbb703cfe58e59bfc6cef5c585dccc6cef3 (diff)
downloadhostap-94ddef3e72ac92860d94039421b7ee2cfd81c198.zip
hostap-94ddef3e72ac92860d94039421b7ee2cfd81c198.tar.gz
hostap-94ddef3e72ac92860d94039421b7ee2cfd81c198.tar.bz2
P2P: Make peer's P2P Device Address available to authenticator
This can be used to implement per-device PSK selection based on the peer's P2P Device Address instead of P2P Interface Address. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ibss_rsn.c')
-rw-r--r--wpa_supplicant/ibss_rsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ibss_rsn.c b/wpa_supplicant/ibss_rsn.c
index 3e5d412..e6a2968 100644
--- a/wpa_supplicant/ibss_rsn.c
+++ b/wpa_supplicant/ibss_rsn.c
@@ -444,7 +444,7 @@ static int ibss_rsn_auth_init_group(struct ibss_rsn *ibss_rsn,
static int ibss_rsn_auth_init(struct ibss_rsn *ibss_rsn,
struct ibss_rsn_peer *peer)
{
- peer->auth = wpa_auth_sta_init(ibss_rsn->auth_group, peer->addr);
+ peer->auth = wpa_auth_sta_init(ibss_rsn->auth_group, peer->addr, NULL);
if (peer->auth == NULL) {
wpa_printf(MSG_DEBUG, "AUTH: wpa_auth_sta_init() failed");
return -1;