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:
Jouni Malinen 2013-02-15 17:07:28 +02:00 committed by Jouni Malinen
parent 8f7a6dd7d0
commit 28fcfb67c0

View file

@ -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,