hostapd/wpa_supplicant/dbus
Lior David ba307f8528 P2P: Add a separate pointer to the P2P Device instance
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>
2016-02-27 19:37:19 +02:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus-wpa_supplicant.conf D-Bus: Don't do <deny send_interface="..." /> in dbus service file 2016-02-07 11:55:09 +02:00
dbus_common.c D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common_i.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_dict_helpers.c dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_dict_helpers.h dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_new.c P2P: Add a separate pointer to the P2P Device instance 2016-02-27 19:37:19 +02:00
dbus_new.h D-Bus: Add InvitationReceived Signal 2015-09-27 15:55:11 +03:00
dbus_new_handlers.c D-Bus: Fix p2p interface capability message 2016-02-05 18:09:38 +02:00
dbus_new_handlers.h dbus: Add support for vendor specific elements 2015-12-06 12:50:13 +02:00
dbus_new_handlers_p2p.c dbus: Restrict DeviceName size to 32 characters in setter 2016-01-15 20:16:13 +02:00
dbus_new_handlers_p2p.h dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_handlers_wps.c dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_helpers.c dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_helpers.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_new_introspect.c dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_old.c D-Bus: Fix operations when P2P management interface is used 2015-04-29 20:42:25 +03:00
dbus_old.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers.c dbus: Do not quote scan_freq and freq_list in dbus_old_handlers.c 2015-08-28 00:13:26 +03:00
dbus_old_handlers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers_wps.c D-Bus (old): Fix wpsReg error message 2015-01-07 13:19:00 +02:00
fi.epitest.hostap.WPASupplicant.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
fi.w1.wpa_supplicant1.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00