projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d43d0
)
wpa_gui: Increase control interface message buffer for LIST_NETWORKS
author
Jouni Malinen
<j@w1.fi>
Sat, 5 Sep 2015 16:28:56 +0000
(19:28 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 5 Sep 2015 16:28:56 +0000
(19:28 +0300)
Double the buffer length from 2048 to 4096 to match the length used
currently in wpa_supplicant. This allows wpa_gui to retrieve information
for more networks than previously.
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_gui-qt4/wpagui.cpp
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
index
3bd3a9c
..
a0aa05e
100644
(file)
--- a/
wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ b/
wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@
-639,7
+639,7
@@
void WpaGui::updateStatus()
void WpaGui::updateNetworks()
{
- char buf[
2048
], *start, *end, *id, *ssid, *bssid, *flags;
+ char buf[
4096
], *start, *end, *id, *ssid, *bssid, *flags;
size_t len;
int first_active = -1;
int was_selected = -1;