From: Luis R. Rodriguez Date: Mon, 9 Nov 2009 21:03:22 +0000 (-0500) Subject: mac80211: fix max HT rate processing on mac80211 X-Git-Tag: v2.6.33-rc1~388^2~280^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d6eb8305a4c116fc94ce28b8136c538c92442f;p=pandora-kernel.git mac80211: fix max HT rate processing on mac80211 The max MCS index is 76, fix the higher check to allow through frames received at MCS 76. This is a non-issue for current drivers as MCS 76 is only possible with a device supporting 4 spatial streams. While at it change the WARN_ON() on invalid HT rates to a WARN() to provide more useful information. This will help debug issues when the driver is passing up a bogus HT rate value. The rate must map to a valid MCS index which can be any of the values in the set [0 - 76] (inclusive). Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed