wpa_cli: Increase receive buffer from 2048 to 4096 bytes
wpa_supplicant uses 4096 byte buffer for control interface responses, so wpa_cli should do the same to avoid truncating responses unnecessarily. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8cee87ab13
commit
aec309c407
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ static void wpa_cli_msg_cb(char *msg, size_t len)
|
||||||
|
|
||||||
static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print)
|
static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print)
|
||||||
{
|
{
|
||||||
char buf[2048];
|
char buf[4096];
|
||||||
size_t len;
|
size_t len;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue