hostap/wpa_supplicant/dbus
Todd Previte aa89df5699 P2P: Fix DBus crash and return additional P2P group properties
When using DBus to get group properties, a segmentation fault is
generated on P2P clients due to a NULL pointer for the ap_iface struct.
The current implementation only returns vendor extensions when called on
a P2P group owner.

The code now checks the P2P role which allows for role-specific
information to be provided. This also fixes the crash issue by only
looking for the correct structures based on the current P2P role.

Signed-hostap: Todd Previte <toddx.a.previte@intel.com>
Signed-hostap: Angie Chinchilla <angie.v.chinchilla@intel.com>
intended-for: hostap-1
2012-02-04 13:08:12 +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 Move D-Bus related files into their own subdirectory 2009-12-20 20:11:14 +02:00
dbus_common.c dbus: Fix init-failure-detection 2010-01-01 21:30:58 +02:00
dbus_common.h dbus: Share common initialization code for both old and new interface 2009-12-31 00:15:56 +02:00
dbus_common_i.h dbus: Do not deinitialize new D-Bus API if it is not initialized 2009-12-31 21:50:12 +02:00
dbus_dict_helpers.c dbus: Fix extra semicolon 2012-01-01 14:39:24 +02:00
dbus_dict_helpers.h dbus: clean up new D-Bus interface getters and setters 2011-07-29 21:25:39 +03:00
dbus_new.c dbus: Create DBus getter/setter for FastReauth 2012-01-28 11:21:37 +02:00
dbus_new.h P2P: Make GO negotiation peer and group information available over D-Bus 2011-12-18 16:52:33 +02:00
dbus_new_handlers.c Let wpa_supplicant_deinit_iface() know that process is terminating 2012-01-29 20:15:48 +02:00
dbus_new_handlers.h dbus: Create DBus getter/setter for FastReauth 2012-01-28 11:21:37 +02:00
dbus_new_handlers_p2p.c P2P: Fix DBus crash and return additional P2P group properties 2012-02-04 13:08:12 +02:00
dbus_new_handlers_p2p.h dbus: clean up new D-Bus interface getters and setters 2011-07-29 21:25:39 +03:00
dbus_new_handlers_wps.c wpa_supplicant/dbus AP: Add support for WPS Internal Registrar 2011-12-18 17:06:31 +02:00
dbus_new_helpers.c dbus: Raise PropertiesChanged on org.freedesktop.DBus.Properties 2011-10-29 19:26:33 +03:00
dbus_new_helpers.h Implement control request replies for the D-Bus interface 2011-10-30 12:04:24 +02:00
dbus_new_introspect.c dbus: Increase buffer size to fix Introspect XML 2011-12-31 17:40:49 +02:00
dbus_old.c Remove unnecessary include file inclusion 2011-11-13 22:13:04 +02:00
dbus_old.h Fix non D-Bus builds by removing 'void void' in return value 2011-07-12 15:39:33 +03:00
dbus_old_handlers.c Let wpa_supplicant_deinit_iface() know that process is terminating 2012-01-29 20:15:48 +02:00
dbus_old_handlers.h dbus: Add D-Bus methods to flush the BSS cache 2011-03-20 12:02:33 +02:00
dbus_old_handlers_wps.c P2P: Set Device Password ID in WPS M1/M2 per new rules 2010-09-09 07:17:19 -07: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 dbus: Remove unused D-Bus version defines 2012-01-29 12:53:12 +02:00