NFC: Increase wpa_cli command buffer size
NFC connection handover messages may be longer than 100 octets, so increase wpa_cli buffer size to allow longer messages to be reported. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8f7a6dd7d0
commit
28fcfb67c0
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ fail:
|
||||||
static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args,
|
static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args,
|
||||||
int argc, char *argv[])
|
int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[4096];
|
||||||
if (argc < min_args) {
|
if (argc < min_args) {
|
||||||
printf("Invalid %s command - at least %d argument%s "
|
printf("Invalid %s command - at least %d argument%s "
|
||||||
"required.\n", cmd, min_args,
|
"required.\n", cmd, min_args,
|
||||||
|
|
Loading…
Reference in a new issue