mac80211/minstrel_ht: fix cck rate sampling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jun 2013 19:04:35 +0000 (21:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:55:56 +0000 (09:55 +0300)
commit1cd158573951f737fbc878a35cb5eb47bf9af3d5
tree6f50d58e5f88f69a0beafe092b13995b0bcd38f2
parentf77b86d7d3acf9dfcb5ee834628d12207584b2cb
mac80211/minstrel_ht: fix cck rate sampling

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.

Cc: stable@vger.kernel.org # 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/mac80211/rc80211_minstrel_ht.c