]> Pileus Git - ~andy/linux/commit
mac80211/minstrel_ht: fix cck rate sampling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 19:04:35 +0000 (21:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:22 +0000 (18:35 -0700)
commitef47a5e4f1aaf1d0e2e6875e34b2c9595897bef6
tree486fe6c5216c3ccec7e921defdcd1bc17a3e86ac
parent57fe9f79b907bdb8ef1fd8b31824f8901581369e
mac80211/minstrel_ht: fix cck rate sampling

commit 1cd158573951f737fbc878a35cb5eb47bf9af3d5 upstream.

The CCK group needs special treatment to set the right flags and rate
index. Add this missing check to prevent setting broken rates for tx
packets.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rc80211_minstrel_ht.c