]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix rate control tx handler for VHT rates
authorKarl Beldan <karl.beldan@rivierawaves.com>
Mon, 15 Apr 2013 16:28:21 +0000 (18:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Apr 2013 13:59:08 +0000 (15:59 +0200)
commit5de01be01ea4b8b9137df7c0bc42c93efa2a91b5
treebd513410018d31ec19d764aa8a22ca147512edcb
parent04c3c7c59d9e5136f333076ed6a17395c02c76b5
mac80211: fix rate control tx handler for VHT rates

Handle VHT rates like HT ones, otherwise we easily trigger the pre-HT
rates WARN_ON(rc_rate->idx >= sband->n_bitrates) which will set
rc_rate->idx to -1.

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c