P2P: Add group notification from (re)association request

This commit is contained in:
Jouni Malinen 2010-07-18 14:30:25 -07:00 committed by Jouni Malinen
parent 9bae1be0a1
commit ef7963917c
1 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h" #include "common/ieee802_11_common.h"
#include "common/wpa_ctrl.h" #include "common/wpa_ctrl.h"
#include "p2p/p2p.h"
#include "wps/wps.h" #include "wps/wps.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
@ -181,6 +182,13 @@ skip_wpa_check:
ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
#ifdef CONFIG_P2P
if (elems.p2p) {
p2p_group_notif_assoc(hapd->p2p_group, sta->addr,
all_ies, all_ies_len);
}
#endif /* CONFIG_P2P */
return 0; return 0;
} }