dbus: Increase XML buffer size for an interface introspection data
The current set of global configuration fields is getting close to the previously used 15000 byte limit, so increase this size to 16000 and add a note about the potential need to change this size when adding new fields. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b3aafd5a87
commit
6220fb52e3
2 changed files with 4 additions and 1 deletions
|
@ -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(15000);
|
||||
iface->xml = wpabuf_alloc(16000);
|
||||
if (iface->dbus_interface == NULL || iface->xml == NULL) {
|
||||
os_free(iface->dbus_interface);
|
||||
wpabuf_free(iface->xml);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue