]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Increase event buffer size to 4096 bytes
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 26 Sep 2014 12:26:43 +0000 (15:26 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 26 Sep 2014 12:45:53 +0000 (15:45 +0300)
commit063f85043d63eaf8d59e636cca9fa24057f73b70
treeb00cf812af16585363f6409e1ad1c7264f355127
parentfa0e91767d5ce18eafc7efe00a7c4dabaffba118
wpa_cli: Increase event buffer size to 4096 bytes

Number of other buffers were already increased to this size, but the
buffer used for receiving unsolicited event messages from wpa_supplicant
(e.g., for wpa_cli action scripts) was still at the older 256 byte size.
This could result in some events getting truncated. Avoid this by using
the same 4096 byte buffer size here as in the other places receiving
messages from wpa_supplicant.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wpa_cli.c