]> Pileus Git - ~andy/linux/commit
mwifiex: correction in mcs index check
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 12 Jul 2012 01:12:57 +0000 (18:12 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Jul 2012 18:48:40 +0000 (14:48 -0400)
commitfe020120cb863ba918c6d603345342a880272c4d
tree655ae2496b8afeb96a969ff0f121eb0be767aa91
parent89e1180121f281af16855d4954b9fe3d7354fe73
mwifiex: correction in mcs index check

mwifiex driver supports 2x2 chips as well. Hence valid mcs values
are 0 to 15. The check for mcs index is corrected in this patch.

For example: if 40MHz is enabled and mcs index is 11, "iw link"
command would show "tx bitrate: 108.0 MBit/s" without this patch.
Now it shows "tx bitrate: 108.0 MBit/s MCS 11 40Mhz" with the patch.

Cc: "3.2.y, 3.3.y, 3.4.y" <stable@vger.kernel.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c