P2P: Verify that assoc req IEs are available for group update
Do not call p2p_group_notif_assoc() if the driver did not return IEs from the association request. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a17539ebcd
commit
99c01af9aa
1 changed files with 4 additions and 2 deletions
|
@ -203,8 +203,10 @@ skip_wpa_check:
|
||||||
ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
|
ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
|
||||||
|
|
||||||
#ifdef CONFIG_P2P
|
#ifdef CONFIG_P2P
|
||||||
p2p_group_notif_assoc(hapd->p2p_group, sta->addr,
|
if (req_ies) {
|
||||||
req_ies, req_ies_len);
|
p2p_group_notif_assoc(hapd->p2p_group, sta->addr,
|
||||||
|
req_ies, req_ies_len);
|
||||||
|
}
|
||||||
#endif /* CONFIG_P2P */
|
#endif /* CONFIG_P2P */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue