wpa_cli: Set buffer length the same as in wpa_supplicant_ctrl_iface_process()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
faf9a8585d
commit
89c7ac570b
1 changed files with 1 additions and 1 deletions
|
@ -3473,7 +3473,7 @@ static char * wpa_cli_get_default_ifname(void)
|
|||
#endif /* CONFIG_CTRL_IFACE_UNIX */
|
||||
|
||||
#ifdef CONFIG_CTRL_IFACE_NAMED_PIPE
|
||||
char buf[2048], *pos;
|
||||
char buf[4096], *pos;
|
||||
size_t len;
|
||||
struct wpa_ctrl *ctrl;
|
||||
int ret;
|
||||
|
|
Loading…
Reference in a new issue