summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:31:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:31:33 -0400
commitd369f7b2b257ad6369b72d39e2f989833754a9ce (patch)
tree0092a805f7a152ed161ee8995bb1672a7b74cced /drivers/net/wireless/mwifiex
parent23cb3b2121323443834296a8ecb582b8aeb78d75 (diff)
parent8a70e7f8f3081770238fbe19f78116af1d4b0652 (diff)
downloadtalos-op-linux-d369f7b2b257ad6369b72d39e2f989833754a9ce.tar.gz
talos-op-linux-d369f7b2b257ad6369b72d39e2f989833754a9ce.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 2969f74faa42..657841da740b 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -578,9 +578,9 @@ mwifiex_dump_station_info(struct mwifiex_private *priv,
/*
* Bit 0 in tx_htinfo indicates that current Tx rate is 11n rate. Valid
- * MCS index values for us are 0 to 7.
+ * MCS index values for us are 0 to 15.
*/
- if ((priv->tx_htinfo & BIT(0)) && (priv->tx_rate < 8)) {
+ if ((priv->tx_htinfo & BIT(0)) && (priv->tx_rate < 16)) {
sinfo->txrate.mcs = priv->tx_rate;
sinfo->txrate.flags |= RATE_INFO_FLAGS_MCS;
/* 40MHz rate */
OpenPOWER on IntegriCloud