aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_introspect.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-02-02 15:01:29 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-02 15:01:29 (GMT)
commit6d7111418df7e24cf6ab4368bbf40ea441972c69 (patch)
treeac462270ddda8755721fac54e1aa3336eb9159aa /wpa_supplicant/dbus/dbus_new_introspect.c
parentd1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa (diff)
downloadhostap-6d7111418df7e24cf6ab4368bbf40ea441972c69.zip
hostap-6d7111418df7e24cf6ab4368bbf40ea441972c69.tar.gz
hostap-6d7111418df7e24cf6ab4368bbf40ea441972c69.tar.bz2
DBus: Increase introspection buffer sizes
The P2P additions will add more data so that the current buffers aren't big enough. Signed-off-by: Johannes Berg <johannes.berg@intel.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 c660c04..fd433df 100644
--- a/wpa_supplicant/dbus/dbus_new_introspect.c
+++ b/wpa_supplicant/dbus/dbus_new_introspect.c
@@ -43,7 +43,7 @@ static struct interfaces * add_interface(struct dl_list *list,
iface = os_zalloc(sizeof(struct interfaces));
if (!iface)
return NULL;
- iface->xml = wpabuf_alloc(3000);
+ iface->xml = wpabuf_alloc(6000);
if (iface->xml == NULL) {
os_free(iface);
return NULL;
@@ -250,7 +250,7 @@ DBusMessage * wpa_dbus_introspect(DBusMessage *message,
DBusMessage *reply;
struct wpabuf *xml;
- xml = wpabuf_alloc(4000);
+ xml = wpabuf_alloc(8000);
if (xml == NULL)
return NULL;