aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/tests
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/tests
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/tests')
-rw-r--r--wpa_supplicant/tests/test_wpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/tests/test_wpa.c b/wpa_supplicant/tests/test_wpa.c
index ba2be6f..484a406 100644
--- a/wpa_supplicant/tests/test_wpa.c
+++ b/wpa_supplicant/tests/test_wpa.c
@@ -298,7 +298,7 @@ static int auth_init_group(struct wpa *wpa)
static int auth_init(struct wpa *wpa)
{
- wpa->auth = wpa_auth_sta_init(wpa->auth_group, wpa->supp_addr);
+ wpa->auth = wpa_auth_sta_init(wpa->auth_group, wpa->supp_addr, NULL);
if (wpa->auth == NULL) {
wpa_printf(MSG_DEBUG, "AUTH: wpa_auth_sta_init() failed");
return -1;