diff options
author | 2009-05-04 18:04:55 +0200 | |
---|---|---|
committer | 2009-05-04 16:22:15 -0400 | |
commit | 8e532175277d9a5eae49768ed086555081f741a7 (patch) | |
tree | b073a0fec60be2fcffcf959d03e670190f29adef /lib/fault-inject.c | |
parent | cfg80211: fix comment on regulatory hint processing (diff) | |
download | wireguard-linux-8e532175277d9a5eae49768ed086555081f741a7.tar.xz wireguard-linux-8e532175277d9a5eae49768ed086555081f741a7.zip |
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 <jirislaby@gmail.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions