hostap/wpa_supplicant/dbus
Jouni Malinen 054dc3136f D-Bus: Clean up wpas_dbus_new_decompose_object_path()
None of the new D-Bus interface cases use the bssid_part in
decompose_object_path (while the old interface ones do). As such, this
is dead code and can be removed. In addition, the P2P addition here was
pretty ugly extension. Replace these with a cleaner way of passing the
separating string (e.g., "Networks") from the caller and returning the
requested item.

In addition, there is no need to allocate the returned item separately,
so use a single allocation and a pointer to that allocated memory. This
will make it easier for callers to have to free only a single
allocation. This is also fixing a memory leak in P2P invitation
persistent group case where the caller had missed the need to free the
returned values.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-02 22:50:26 +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 Remove leftover timeouts on cleanup 2014-05-12 19:43:59 +03:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common_i.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_dict_helpers.c D-Bus: Remove useless NULL check from static function 2015-01-02 22:50:26 +02:00
dbus_dict_helpers.h D-Bus: Make WPAS_DBUS_TYPE_BINARRAY value less confusing 2015-01-01 13:51:45 +02:00
dbus_new.c D-Bus: Avoid compiler warning on sometimes uninitialized variable 2015-01-02 22:48:30 +02:00
dbus_new.h dbus: add BSS Age property to indicate last-seen time 2014-09-07 19:18:45 +03:00
dbus_new_handlers.c D-Bus: Clean up wpas_dbus_new_decompose_object_path() 2015-01-02 22:50:26 +02:00
dbus_new_handlers.h dbus: Add an interface configuration entry to set the WPS methods 2014-10-04 18:29:33 +03:00
dbus_new_handlers_p2p.c D-Bus: Clean up wpas_dbus_new_decompose_object_path() 2015-01-02 22:50:26 +02:00
dbus_new_handlers_p2p.h dbus: Add a global property to set or unset WFD IEs 2014-09-28 20:47:06 +03:00
dbus_new_handlers_wps.c D-Bus: Fix WPS ConfigMethods getter to handle no value properly 2014-12-29 15:49:05 +02:00
dbus_new_helpers.c D-Bus: Clean up wpas_dbus_new_decompose_object_path() 2015-01-02 22:50:26 +02:00
dbus_new_helpers.h D-Bus: Clean up wpas_dbus_new_decompose_object_path() 2015-01-02 22:50:26 +02:00
dbus_new_introspect.c Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_old.c D-Bus: Add more debug prints to cover operations 2015-01-02 22:50:26 +02:00
dbus_old.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_old_handlers.c D-Bus (old): Fix removeNetwork method to not use freed memory 2015-01-02 22:50:26 +02:00
dbus_old_handlers.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_old_handlers_wps.c D-Bus(old): Fix WPS interface to require BSSID for wpsReg 2014-12-29 15:49:05 +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