aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-02-15 15:07:28 (GMT)
committerJouni Malinen <j@w1.fi>2013-04-27 19:14:45 (GMT)
commit28fcfb67c0d9e83a57604dcc05639f927f78b352 (patch)
tree5720b48a27ad26db348316c21ac1ad901c785733 /wpa_supplicant/wpa_cli.c
parent8f7a6dd7d0288e002b991b285b1dbdf1cf7a82a6 (diff)
downloadhostap-28fcfb67c0d9e83a57604dcc05639f927f78b352.zip
hostap-28fcfb67c0d9e83a57604dcc05639f927f78b352.tar.gz
hostap-28fcfb67c0d9e83a57604dcc05639f927f78b352.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 87d7928..e700d7e 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -467,7 +467,7 @@ fail:
static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args,
int argc, char *argv[])
{
- char buf[256];
+ char buf[4096];
if (argc < min_args) {
printf("Invalid %s command - at least %d argument%s "
"required.\n", cmd, min_args,