]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mwifiex: correction in mcs index check
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 12 Jul 2012 01:12:57 +0000 (18:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:22:52 +0000 (08:22 -0700)
commitded29f2aa5ee4df0ae405a9be4ce75f6f9854d3e
tree7777f5154cee273d2a92f58d1d123c9565345c5f
parent955441c4790f59078f762a0cc844add6c6a537fe
mwifiex: correction in mcs index check

commit fe020120cb863ba918c6d603345342a880272c4d upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/cfg80211.c