From: Pavel Roskin Date: Sun, 31 Jan 2010 00:55:09 +0000 (-0500) Subject: mac80211: reduce stack usage in sta_ht_capa_read() X-Git-Tag: v2.6.34-rc1~233^2~421^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c82bf8e5689b1dddd9bcec70efc3b70edef1670;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed