commit | 4c82bf8e5689b1dddd9bcec70efc3b70edef1670 | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Sat Jan 30 19:55:09 2010 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Feb 01 15:40:07 2010 -0500 |
tree | 28ad6c29c4b121e0a0aa5013d7ee67ed5d2de3a2 | |
parent | 9501fefec6aa9a3319bb61edb99851ba30653f30 [diff] |
mac80211: reduce stack usage in sta_ht_capa_read() The maximal size of the "ht_capa" file is 430 bytes. In most cases, it's much shorter. Use a 512 byte long buffer. 1024 bytes is too much and causes a warning with CONFIG_FRAME_WARN=1024. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>