Messages in this thread | | | From | "Luis R. Rodriguez" <> | Date | Mon, 4 May 2009 11:38:04 -0700 | Subject | Re: [PATCH 1/2] mac80211: minstrel, fix memory corruption |
| |
On Mon, May 4, 2009 at 9:04 AM, Jiri Slaby <jirislaby@gmail.com> wrote: > 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 <jirislaby@gmail.com> > Cc: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Luis
| |