Skip to content
Snippets Groups Projects
Commit 3545f418 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

map-controller: adjust wsc size tlv/cmdu allocation

parent 2a3538aa
No related branches found
No related tags found
No related merge requests found
Pipeline #24453 failed
...@@ -506,7 +506,7 @@ struct cmdu_buff *cntlr_gen_ap_autoconfig_wsc(struct controller *c, ...@@ -506,7 +506,7 @@ struct cmdu_buff *cntlr_gen_ap_autoconfig_wsc(struct controller *c,
uint16_t attrlen = 0; uint16_t attrlen = 0;
int ret, i = 0; int ret, i = 0;
resp = cmdu_alloc_frame(3000); resp = cmdu_alloc_frame(6400);
if (!resp) { if (!resp) {
trace("%s: -ENOMEM\n", __func__); trace("%s: -ENOMEM\n", __func__);
return NULL; return NULL;
......
...@@ -227,7 +227,7 @@ int cntlr_gen_wsc(struct controller *c, struct cmdu_buff *frm, ...@@ -227,7 +227,7 @@ int cntlr_gen_wsc(struct controller *c, struct cmdu_buff *frm,
uint8_t out[256] = {0}; uint8_t out[256] = {0};
size_t olen = 256; size_t olen = 256;
t = cmdu_reserve_tlv(frm, 2000); t = cmdu_reserve_tlv(frm, 1000);
if (!t) if (!t)
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment