aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_introspect.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-10-13 16:47:46 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-28 21:41:32 (GMT)
commite50c50d5a090a6a52af6d92ee3a3c9cc37743747 (patch)
treef2176b394d26f0b6a6cce089c9ae4aeff53bf744 /wpa_supplicant/dbus/dbus_new_introspect.c
parent1aa0fb77ea5bcbb600673958029b3553a6c27220 (diff)
downloadhostap-e50c50d5a090a6a52af6d92ee3a3c9cc37743747.zip
hostap-e50c50d5a090a6a52af6d92ee3a3c9cc37743747.tar.gz
hostap-e50c50d5a090a6a52af6d92ee3a3c9cc37743747.tar.bz2
dbus: Expose interface globals via D-Bus properties
All interface globals are now exposed as D-Bus properties of type string, and parsed via the normal interface global parsing functions. Signed-off-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_introspect.c')
-rw-r--r--wpa_supplicant/dbus/dbus_new_introspect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_introspect.c b/wpa_supplicant/dbus/dbus_new_introspect.c
index fba57e6..aee105b 100644
--- a/wpa_supplicant/dbus/dbus_new_introspect.c
+++ b/wpa_supplicant/dbus/dbus_new_introspect.c
@@ -38,7 +38,7 @@ static struct interfaces * add_interface(struct dl_list *list,
if (!iface)
return NULL;
iface->dbus_interface = os_strdup(dbus_interface);
- iface->xml = wpabuf_alloc(6000);
+ iface->xml = wpabuf_alloc(15000);
if (iface->dbus_interface == NULL || iface->xml == NULL) {
os_free(iface->dbus_interface);
wpabuf_free(iface->xml);
@@ -257,7 +257,7 @@ DBusMessage * wpa_dbus_introspect(DBusMessage *message,
DBusMessage *reply;
struct wpabuf *xml;
- xml = wpabuf_alloc(15000);
+ xml = wpabuf_alloc(20000);
if (xml == NULL)
return NULL;