minstrel_ht: fix check for downgrading of top2 rate
authorMing Lei <tom.leiming@gmail.com>
Thu, 1 Jul 2010 15:19:50 +0000 (23:19 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 2 Jul 2010 17:44:40 +0000 (13:44 -0400)
commitecc3d5ae17e62ce1250abf16ff523c677bf19e2f
tree6403f0bafda65b1ea520a70fd48e610535e89129
parent009271f9187d61c638bb4f3db9ab172c5065e542
minstrel_ht: fix check for downgrading of top2 rate

The check should be against current top2 rate, instead of
current top rate.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel_ht.c