mac80211: off by one in mcs mask handling
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 1 Feb 2012 07:42:11 +0000 (10:42 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:55:41 +0000 (14:55 -0500)
commit910570b5f4dbf75b73389010704ca6442a767a41
tree6c3c581f672492906ebf5b4c34adc307e06aa5a3
parentd486a5b4996d2fffd10098725781f2c5690774bc
mac80211: off by one in mcs mask handling

"ridx" is used as an index into the mcs_mask[] array which has
IEEE80211_HT_MCS_MASK_LEN elements.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rate.c
net/wireless/nl80211.c