mac80211: max_tp_rate2 management of minstrel_ht
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Sat, 24 Sep 2011 16:48:26 +0000 (18:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:16:25 +0000 (15:16 -0400)
commit89888e368eebb8d5c3dbf58425b95fc773aee511
treeee78a76c3d075f2d92514755e15d9654fda1c534
parent4ca8c452a655d96639975d132f586f2829f6564e
mac80211: max_tp_rate2 management of minstrel_ht

I noticed a possible issue in the max_tp_rate2 management of
minstrel_ht. In particular, if we look up just among max_tp_rate2 of
each group it will be possible that the selected rate will not be the
mcs with second maximum throughput. I wrote this simple patch.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel_ht.c