aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.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 /src/ap/wpa_auth_glue.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 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index e2be1ea..ea5e74f 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -471,7 +471,7 @@ hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr)
return sta->wpa_sm;
}
- sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr);
+ sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL);
if (sta->wpa_sm == NULL) {
ap_free_sta(hapd, sta);
return NULL;