P2P: Add a peer entry based on Association Request frame
It is possible for a P2P client to connect to an operating group without exchanging any Probe Request/Response frames that would allow the GO to discover the peer. To make sure there is a P2P peer entry at the GO, try to add the peer information based on P2P IE in (Re)Association Request frame. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
c9c77083b3
commit
f46fc73a3f
1 changed files with 2 additions and 0 deletions
|
@ -564,6 +564,8 @@ int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr,
|
||||||
if (group == NULL)
|
if (group == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
p2p_add_device(group->p2p, addr, 0, NULL, 0, ie, len, 0);
|
||||||
|
|
||||||
m = os_zalloc(sizeof(*m));
|
m = os_zalloc(sizeof(*m));
|
||||||
if (m == NULL)
|
if (m == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue