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>
This commit is contained in:
parent
d1c8ac88b9
commit
6d7111418d
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ static struct interfaces * add_interface(struct dl_list *list,
|
||||||
iface = os_zalloc(sizeof(struct interfaces));
|
iface = os_zalloc(sizeof(struct interfaces));
|
||||||
if (!iface)
|
if (!iface)
|
||||||
return NULL;
|
return NULL;
|
||||||
iface->xml = wpabuf_alloc(3000);
|
iface->xml = wpabuf_alloc(6000);
|
||||||
if (iface->xml == NULL) {
|
if (iface->xml == NULL) {
|
||||||
os_free(iface);
|
os_free(iface);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -250,7 +250,7 @@ DBusMessage * wpa_dbus_introspect(DBusMessage *message,
|
||||||
DBusMessage *reply;
|
DBusMessage *reply;
|
||||||
struct wpabuf *xml;
|
struct wpabuf *xml;
|
||||||
|
|
||||||
xml = wpabuf_alloc(4000);
|
xml = wpabuf_alloc(8000);
|
||||||
if (xml == NULL)
|
if (xml == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue