From: Jiri Slaby Date: Mon, 4 May 2009 16:04:55 +0000 (+0200) Subject: mac80211: minstrel, fix memory corruption X-Git-Tag: linux-omap-v2.6.30-rc6~48^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e532175277d9a5eae49768ed086555081f741a7;p=pandora-kernel.git mac80211: minstrel, fix memory corruption minstrel doesn't count max rate count in fact, since it doesn't use a loop variable `i' and hence allocs space only for bitrates found in the first band. Fix it by involving the `i' as an index so that it traverses all the bands now and finds the real max bitrate count. Signed-off-by: Jiri Slaby Cc: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed