mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-02 20:28:24 -05:00
ba307f8528
In many places in the code there was a reference to wpa_s->parent to get from group interface to p2p_dev interface. These places can break if P2P_DEVICE interface would need to be used with the primary interface as the group interface, since the parent of the primary interface points to itself and not the p2p_dev interface. Fix this by adding a separate "p2pdev" pointer to wpa_supplicant, it will be the same as parent pointer in most cases but whenever the primary interface is used as a group interface, change it to point to the correct p2p_dev interface. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> |
||
---|---|---|
.. | ||
.gitignore | ||
dbus_common_i.h | ||
dbus_common.c | ||
dbus_common.h | ||
dbus_dict_helpers.c | ||
dbus_dict_helpers.h | ||
dbus_new_handlers_p2p.c | ||
dbus_new_handlers_p2p.h | ||
dbus_new_handlers_wps.c | ||
dbus_new_handlers.c | ||
dbus_new_handlers.h | ||
dbus_new_helpers.c | ||
dbus_new_helpers.h | ||
dbus_new_introspect.c | ||
dbus_new.c | ||
dbus_new.h | ||
dbus_old_handlers_wps.c | ||
dbus_old_handlers.c | ||
dbus_old_handlers.h | ||
dbus_old.c | ||
dbus_old.h | ||
dbus-wpa_supplicant.conf | ||
fi.epitest.hostap.WPASupplicant.service.in | ||
fi.w1.wpa_supplicant1.service.in | ||
Makefile |